X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=docs%2Freference%2Fgtk%2Ftmpl%2Fgtkcontainer.sgml;h=c0ac78af81e3d5d98f1c3dddede421333f0b602a;hb=69f37db80f2473e420f560e5247b92d9ddea1c02;hp=4fa9b0e086fb1220754875455d76510d9c43b0f9;hpb=002d2b73cb750173dfef7d673df839688a5f61c1;p=~andy%2Fgtk diff --git a/docs/reference/gtk/tmpl/gtkcontainer.sgml b/docs/reference/gtk/tmpl/gtkcontainer.sgml index 4fa9b0e08..c0ac78af8 100644 --- a/docs/reference/gtk/tmpl/gtkcontainer.sgml +++ b/docs/reference/gtk/tmpl/gtkcontainer.sgml @@ -2,13 +2,29 @@ GtkContainer - +Base class for widgets which contain other widgets - - + +GtkContainer introduces child +properties - these are object properties that are not specific +to either the container or the contained widget, but rather to their relation. +Typical examples of child properties are the position or pack-type of a widget +which is contained in a #GtkBox. + +Use gtk_container_class_install_child_property() to install child properties +for a container class and gtk_container_class_find_child_property() or +gtk_container_class_list_child_properties() to get information about existing +child properties. + + +To set the value of a child property, use gtk_container_child_set_property(), +gtk_container_child_set() or gtk_container_child_set_valist(). +To obtain the value of a child property, use +gtk_container_child_get_property(), gtk_container_child_get() or +gtk_container_child_get_valist(). To emit notification about child property +changes, use gtk_widget_child_notify(). - @@ -38,21 +54,24 @@ GtkContainer @pspec: - + - +Does the same as gtk_container_get_border_width(). +@Deprecated: Use gtk_container_get_border_width() instead. - + +@container: +@widget: - + @@ -61,13 +80,24 @@ GtkContainer @widget: - + @container: @widget: +@first_prop_name: +@Varargs: + + + + + + + +@container: +@Returns: @@ -107,16 +137,25 @@ GtkContainer @marshal: @callback_data: @notify: +@Deprecated: Use gtk_container_foreach() instead. - +Does the same as gtk_container_get_children(). @Returns: - +@Deprecated: Use gtk_container_get_children() instead. + + + + + + + @container: +@Returns: @@ -137,6 +176,15 @@ GtkContainer @child: + + + + + +@container: +@Returns: + + @@ -146,6 +194,15 @@ GtkContainer @adjustment: + + + + + +@container: +@Returns: + + @@ -172,6 +229,17 @@ GtkContainer @Returns: + + + + + +@container: +@child: +@first_prop_name: +@Varargs: + + @@ -185,20 +253,48 @@ GtkContainer @first_arg_name: - + @container: +@child: +@property_name: +@value: - + @container: +@child: +@property_name: +@value: + + + + + + + +@container: +@child: +@first_property_name: +@var_args: + + + + + + + +@container: +@child: +@first_property_name: +@var_args: @@ -211,13 +307,12 @@ GtkContainer @callback_data: - + @container: -@child: @Returns: @@ -240,6 +335,16 @@ GtkContainer @event: + + + + + +@container: +@focusable_widgets: +@Returns: + + @@ -257,6 +362,42 @@ GtkContainer @container: + + + + + +@cclass: +@property_name: +@Returns: + +@class: + + + + + + + +@cclass: +@property_id: +@pspec: + +@class: + + + + + + + +@cclass: +@n_properties: +@Returns: + +@class: + + @@ -293,12 +434,12 @@ GtkContainer - + - +