diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-05-02 00:03:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-05-02 00:03:49 +0000 |
commit | 1c9744d5de67cf60b2528372d951f4e86882c2ab (patch) | |
tree | 43b181b6563d3780ca843405f3de19abfc7373be /gtk/gtktable.c | |
parent | 8e6c6469d97451e3e1477f045633fedd6aec8081 (diff) | |
download | gdk-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/gtktable.c')
-rw-r--r-- | gtk/gtktable.c | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/gtk/gtktable.c b/gtk/gtktable.c index 1709e500e..a8c7c82ae 100644 --- a/gtk/gtktable.c +++ b/gtk/gtktable.c @@ -196,42 +196,58 @@ gtk_table_class_init (GtkTableClass *class) gtk_container_class_install_child_property (container_class, CHILD_PROP_LEFT_ATTACH, - g_param_spec_uint ("left_attach", NULL, NULL, + g_param_spec_uint ("left_attach", + _("Left attachment"), + _("The leftmost column of the child"), 0, 65535, 0, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_RIGHT_ATTACH, - g_param_spec_uint ("right_attach", NULL, NULL, + g_param_spec_uint ("right_attach", + _("Right attachment"), + _("The rightmost column of the child"), 1, 65535, 1, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_TOP_ATTACH, - g_param_spec_uint ("top_attach", NULL, NULL, + g_param_spec_uint ("top_attach", + _("Top attachment"), + _("The uppermost row of the child"), 0, 65535, 0, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_BOTTOM_ATTACH, - g_param_spec_uint ("bottom_attach", NULL, NULL, + g_param_spec_uint ("bottom_attach", + _("Bottom attachment"), + _("The lowest row of the child"), 1, 65535, 1, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_X_OPTIONS, - g_param_spec_flags ("x_options", NULL, NULL, + g_param_spec_flags ("x_options", + _("Horizontal options"), + _("Options specifying the horizontal behaviour of the child."), GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_Y_OPTIONS, - g_param_spec_flags ("y_options", NULL, NULL, + g_param_spec_flags ("y_options", + _("Vertical options"), + _("Options specifying the vertical behaviour of the child"), GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_X_PADDING, - g_param_spec_uint ("x_padding", NULL, NULL, + g_param_spec_uint ("x_padding", + _("Horizontal padding"), + _("Extra space to put between the child and its left and right neighbors, in pixels"), 0, 65535, 0, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_Y_PADDING, - g_param_spec_uint ("y_padding", NULL, NULL, + g_param_spec_uint ("y_padding", + _("Vertical padding"), + _("Extra space to put between the child and its upper and lower neighbors, in pixels"), 0, 65535, 0, G_PARAM_READWRITE)); } |