diff options
author | Christian Dywan <christian@twotoasts.de> | 2009-12-03 13:10:02 +0100 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2009-12-03 13:10:02 +0100 |
commit | 46f5ee1d0c0f4601853ed57e99b1b513f1baa445 (patch) | |
tree | 3e90ea141dee1596f6aa4e8c6a3c1ad87f679629 /docs | |
parent | 7e7c23de196011bca9d974a753c220d078bdb788 (diff) | |
download | gtk+-46f5ee1d0c0f4601853ed57e99b1b513f1baa445.tar.gz |
Store the buildable name in object data instead of the widget name
Widget names are used for theming which is why GtkBuilder should
use object data.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591085
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkbuildable.sgml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/reference/gtk/tmpl/gtkbuildable.sgml b/docs/reference/gtk/tmpl/gtkbuildable.sgml index 16857ae60c..935a2c77f6 100644 --- a/docs/reference/gtk/tmpl/gtkbuildable.sgml +++ b/docs/reference/gtk/tmpl/gtkbuildable.sgml @@ -41,10 +41,8 @@ a GtkBuilder UI definition. @g_iface: the parent class @set_name: Stores the name attribute given in the GtkBuilder UI definition. - #GtkWidget maps this to the #GtkWidget:name property, and - gtk_buildable_set_name() has a fallback implementation that stores - the name as object data. Implement this method if your object - has some notion of "name" and it makes sense to map the XML name + #GtkWidget stores the name as object data. Implement this method if your + object has some notion of "name" and it makes sense to map the XML name attribute to it. @get_name: The getter corresponding to @set_name. Implement this if you implement @set_name. |