Matthias Clasen wrote:
> On 6/12/07, Yevgen Muntyan <[EMAIL PROTECTED]> wrote:
>>
>> Sorry for not being clear, I meant how widget names are used in rc
>> files/strings. Gtk docs seem to imply that widget names have
>> other uses, perhaps there are some, don't know.
>>
>> > and how are they related to widgets constructed
>> > by GtkBuilder?
>>
>> It was my question actually. "#GtkWidget implements this to map
>> the buildable name to the widget name" - what does it mean? Does
>> GtkBuilder call gtk_widget_set_name(widget, "name_from_xml_file")
>> for constructed widgets? Or something else?
>
> It means that widgets only have one name, which can be get/set by either
> the GtkWidget api or by the GtkBuildable api.

Um, then gtk_widget_get/set_name is going to be deprecated?
gtk_widget_set_name() sets widget->name member, and that structure
member is used (in particular?) by themes, that's how it works.
What does "name of GtkBuildable" mean?

Yevgen

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to