diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-05-05 07:46:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-05-05 07:46:03 -0400 |
commit | b8fe808e157dbe1fd12601114c391c67c03ed7a2 (patch) | |
tree | faf2889ff122e716804046534048d6d5e3565c1f /gtk/gtkbbox.h | |
parent | dd95a099be4044464325b3137e1d7dc23c319631 (diff) | |
download | gtk+-b8fe808e157dbe1fd12601114c391c67c03ed7a2.tar.gz |
GtkButtonBox: add a non-homogeneous child property
This makes it easier to add things like lock buttons in
dialogs. Part of #626457.
Diffstat (limited to 'gtk/gtkbbox.h')
-rw-r--r-- | gtk/gtkbbox.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gtk/gtkbbox.h b/gtk/gtkbbox.h index a46ba4d5b5..878a997b81 100644 --- a/gtk/gtkbbox.h +++ b/gtk/gtkbbox.h @@ -72,12 +72,20 @@ GType gtk_button_box_get_type (void) G_GNUC_CONST; GtkWidget * gtk_button_box_new (GtkOrientation orientation); GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget); void gtk_button_box_set_layout (GtkButtonBox *widget, - GtkButtonBoxStyle layout_style); + GtkButtonBoxStyle layout_style); gboolean gtk_button_box_get_child_secondary (GtkButtonBox *widget, - GtkWidget *child); + GtkWidget *child); void gtk_button_box_set_child_secondary (GtkButtonBox *widget, - GtkWidget *child, - gboolean is_secondary); + GtkWidget *child, + gboolean is_secondary); + +gboolean gtk_button_box_get_child_non_homogeneous (GtkButtonBox *widget, + GtkWidget *child); + +void gtk_button_box_set_child_non_homogeneous (GtkButtonBox *widget, + GtkWidget *child, + gboolean non_homogeneous); + G_END_DECLS |