summaryrefslogtreecommitdiff
path: root/gtk/gtkwrapbox.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-09-21 18:31:02 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-09-21 22:00:54 +0900
commite976abe825e5bff0772e1944dc13a11ebbc7d755 (patch)
treec805c47b60aae81ebd402026e2fffeb3f9c4dbf2 /gtk/gtkwrapbox.h
parent9e2996decd9b1e9985b6b5154d0f4e65923761a5 (diff)
downloadgtk+-e976abe825e5bff0772e1944dc13a11ebbc7d755.tar.gz
Split up GtkWrapBox:spreading property into two orientation specific properties.
Now GtkWrapBox has "horizontal-spreading" and "vertical-spreading" options, before GtkWrapBox never spread out children across the opposing orientation (i.e. it never grew "lines" larger then their natural width, they would act as if set to GTK_WRAP_BOX_SPREAD_START, now they are completely configurable).
Diffstat (limited to 'gtk/gtkwrapbox.h')
-rw-r--r--gtk/gtkwrapbox.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/gtk/gtkwrapbox.h b/gtk/gtkwrapbox.h
index 5263771448..266a63fa85 100644
--- a/gtk/gtkwrapbox.h
+++ b/gtk/gtkwrapbox.h
@@ -55,16 +55,21 @@ struct _GtkWrapBoxClass
GType gtk_wrap_box_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_wrap_box_new (GtkWrapAllocationMode mode,
- GtkWrapBoxSpreading spreading,
+ GtkWrapBoxSpreading horizontal_spreading,
+ GtkWrapBoxSpreading vertical_spreading,
guint horizontal_spacing,
guint vertical_spacing);
void gtk_wrap_box_set_allocation_mode (GtkWrapBox *box,
GtkWrapAllocationMode mode);
GtkWrapAllocationMode gtk_wrap_box_get_allocation_mode (GtkWrapBox *box);
-void gtk_wrap_box_set_spreading (GtkWrapBox *box,
+void gtk_wrap_box_set_horizontal_spreading (GtkWrapBox *box,
GtkWrapBoxSpreading spreading);
-GtkWrapBoxSpreading gtk_wrap_box_get_spreading (GtkWrapBox *box);
+GtkWrapBoxSpreading gtk_wrap_box_get_horizontal_spreading (GtkWrapBox *box);
+
+void gtk_wrap_box_set_vertical_spreading (GtkWrapBox *box,
+ GtkWrapBoxSpreading spreading);
+GtkWrapBoxSpreading gtk_wrap_box_get_vertical_spreading (GtkWrapBox *box);
void gtk_wrap_box_set_vertical_spacing (GtkWrapBox *box,
guint spacing);