summaryrefslogtreecommitdiff
path: root/gtk/gtkbox.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-05-02 00:03:49 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-05-02 00:03:49 +0000
commit1c9744d5de67cf60b2528372d951f4e86882c2ab (patch)
tree43b181b6563d3780ca843405f3de19abfc7373be /gtk/gtkbox.c
parent8e6c6469d97451e3e1477f045633fedd6aec8081 (diff)
downloadgdk-pixbuf-1c9744d5de67cf60b2528372d951f4e86882c2ab.tar.gz
Add nicks and blurbs for child properties. (#57143)
* gtk/gtktable.c (gtk_table_class_init): * gtk/gtknotebook.c (gtk_notebook_class_init): * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for child properties. (#57143)
Diffstat (limited to 'gtk/gtkbox.c')
-rw-r--r--gtk/gtkbox.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index cc0f35670..4b3aba0a1 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -139,27 +139,37 @@ gtk_box_class_init (GtkBoxClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_EXPAND,
- g_param_spec_boolean ("expand", NULL, NULL,
+ g_param_spec_boolean ("expand",
+ _("Expand"),
+ _("Whether the child should receive extra space when the parent grows"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_FILL,
- g_param_spec_boolean ("fill", NULL, NULL,
+ g_param_spec_boolean ("fill",
+ _("Fill"),
+ _("Whether extra space given to the child should be allocated to the child or used as padding"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_PADDING,
- g_param_spec_uint ("padding", NULL, NULL,
+ g_param_spec_uint ("padding",
+ _("Padding"),
+ _("Extra space to put between the child and its neighbors, in pixels"),
0, G_MAXINT, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_PACK_TYPE,
- g_param_spec_enum ("pack_type", NULL, NULL,
+ g_param_spec_enum ("pack_type",
+ _("Pack type"),
+ _("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
GTK_TYPE_PACK_TYPE, GTK_PACK_START,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_POSITION,
- g_param_spec_int ("position", NULL, NULL,
+ g_param_spec_int ("position",
+ _("Position"),
+ _("The index of the child in the parent"),
-1, G_MAXINT, 0,
G_PARAM_READWRITE));
}