forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
8e6c6469d9
commit
1c9744d5de
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
20
gtk/gtkbox.c
20
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));
|
||||
}
|
||||
|
@ -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));
|
||||
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user