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 | |
parent | 8e6c6469d97451e3e1477f045633fedd6aec8081 (diff) | |
download | gtk+-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)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 7 | ||||
-rw-r--r-- | gtk/gtkbox.c | 20 | ||||
-rw-r--r-- | gtk/gtknotebook.c | 24 | ||||
-rw-r--r-- | gtk/gtktable.c | 32 |
9 files changed, 99 insertions, 19 deletions
@@ -1,3 +1,10 @@ +2002-05-02 Matthias Clasen <maclas@gmx.de> + + * 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) + 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com> * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e0f23de2b4..03e4a637fe 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2002-05-02 Matthias Clasen <maclas@gmx.de> + + * 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) + 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com> * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index e0f23de2b4..03e4a637fe 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +2002-05-02 Matthias Clasen <maclas@gmx.de> + + * 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) + 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com> * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index e0f23de2b4..03e4a637fe 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2002-05-02 Matthias Clasen <maclas@gmx.de> + + * 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) + 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com> * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e0f23de2b4..03e4a637fe 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2002-05-02 Matthias Clasen <maclas@gmx.de> + + * 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) + 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com> * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e0f23de2b4..03e4a637fe 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2002-05-02 Matthias Clasen <maclas@gmx.de> + + * 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) + 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com> * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen): diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index cc0f356702..4b3aba0a1d 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)); } diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index c3dcd57551..63e14c212c 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -438,32 +438,44 @@ gtk_notebook_class_init (GtkNotebookClass *class) gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_LABEL, - g_param_spec_string ("tab_label", NULL, NULL, + g_param_spec_string ("tab_label", + _("Tab label"), + _("The string displayed on the childs tab label"), NULL, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_MENU_LABEL, - g_param_spec_string ("menu_label", NULL, NULL, + g_param_spec_string ("menu_label", + _("Menu label"), + _("The string displayed in the childs menu entry"), NULL, 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)); gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_EXPAND, - g_param_spec_boolean ("tab_expand", NULL, NULL, + g_param_spec_boolean ("tab_expand", + _("Tab expand"), + _("Whether to expand the childs tab or not"), TRUE, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_FILL, - g_param_spec_boolean ("tab_fill", NULL, NULL, + g_param_spec_boolean ("tab_fill", + _("Tab fill"), + _("Wheather the childs tab should fill the allocated area or not"), TRUE, G_PARAM_READWRITE)); gtk_container_class_install_child_property (container_class, CHILD_PROP_TAB_PACK, - g_param_spec_enum ("tab_pack", NULL, NULL, + g_param_spec_enum ("tab_pack", + _("Tab 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)); diff --git a/gtk/gtktable.c b/gtk/gtktable.c index 1709e500ec..a8c7c82ae7 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)); } |