summaryrefslogtreecommitdiff
path: root/gtk/gtkbbox.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-20 06:30:41 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-20 09:54:01 -0400
commit2430762f9bf7274a1ee6708296b18bfa11e5afdf (patch)
tree308673f3d484b4eae4ea2c48ee713dbb8014abbc /gtk/gtkbbox.h
parentcf1c8c8c691b5ce6ffb63eea36cac31b027cf828 (diff)
downloadgtk+-2430762f9bf7274a1ee6708296b18bfa11e5afdf.tar.gz
docs: enum cleanup
Move GtkButtonBoxStyle to the one place it is used, GtkButtonBox.
Diffstat (limited to 'gtk/gtkbbox.h')
-rw-r--r--gtk/gtkbbox.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gtk/gtkbbox.h b/gtk/gtkbbox.h
index 98d55c36bb..46f1e59de0 100644
--- a/gtk/gtkbbox.h
+++ b/gtk/gtkbbox.h
@@ -72,6 +72,31 @@ struct _GtkButtonBoxClass
};
+/**
+ * GtkButtonBoxStyle:
+ * @GTK_BUTTONBOX_SPREAD: Buttons are evenly spread across the box.
+ * @GTK_BUTTONBOX_EDGE: Buttons are placed at the edges of the box.
+ * @GTK_BUTTONBOX_START: Buttons are grouped towards the start of the box,
+ * (on the left for a HBox, or the top for a VBox).
+ * @GTK_BUTTONBOX_END: Buttons are grouped towards the end of the box,
+ * (on the right for a HBox, or the bottom for a VBox).
+ * @GTK_BUTTONBOX_CENTER: Buttons are centered in the box. Since 2.12.
+ * @GTK_BUTTONBOX_EXPAND: Buttons expand to fill the box. Since 3.12.
+ *
+ * Used to dictate the style that a #GtkButtonBox uses to layout the buttons it
+ * contains.
+ */
+typedef enum
+{
+ GTK_BUTTONBOX_SPREAD = 1,
+ GTK_BUTTONBOX_EDGE,
+ GTK_BUTTONBOX_START,
+ GTK_BUTTONBOX_END,
+ GTK_BUTTONBOX_CENTER,
+ GTK_BUTTONBOX_EXPAND
+} GtkButtonBoxStyle;
+
+
GDK_AVAILABLE_IN_ALL
GType gtk_button_box_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL