Re: GtkBuilder Public API - Last call



Matthias Clasen wrote:
On 6/12/07, Yevgen Muntyan <muntyan tamu edu> 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]