Re: Add new element <template> and gtk_builder_expose_object() function to GtkBuilder
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: Juan Pablo Ugarte <juanpablougarte gmail com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, glade-devel <glade-devel lists ximian com>
- Subject: Re: Add new element <template> and gtk_builder_expose_object() function to GtkBuilder
- Date: Thu, 15 Nov 2012 17:05:23 +0900
On Thu, Nov 15, 2012 at 2:59 AM, Juan Pablo Ugarte
<juanpablougarte gmail com> wrote:
> Hello guys
>
> Question for Tristan and Marco
>
> Is there any specific reason why we should keep external object in a
> different name space (other table)
> now that this is only for object and not any variable?
They should ideally use the same hash (or namespace, as you put it).
However it calls to question some nastier implications, such as... what
happens when you expose an external object which has the same
name as a declared object... should the external object be used instead ?
(i.e. should it be able to override internally declared fragments ?)
I think at least for now, we want to keep things as simple as possible
so the answer is no, it should not be able to override anything, and
a warning should be issued if there are any collisions in the internal
hash.
Cheers,
-Tristan
>
> greets
>
> Juan Pablo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]