| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
GtkWrapBoxChild;
GtkWrapBox;
#define GTK_JUSTIFY_TOP
#define GTK_JUSTIFY_BOTTOM
void gtk_wrap_box_set_homogeneous (GtkWrapBox *wbox,
gboolean homogeneous);
void gtk_wrap_box_set_hspacing (GtkWrapBox *wbox,
guint hspacing);
void gtk_wrap_box_set_vspacing (GtkWrapBox *wbox,
guint vspacing);
void gtk_wrap_box_set_justify (GtkWrapBox *wbox,
GtkJustification justify);
void gtk_wrap_box_set_line_justify (GtkWrapBox *wbox,
GtkJustification line_justify);
void gtk_wrap_box_set_aspect_ratio (GtkWrapBox *wbox,
gfloat aspect_ratio);
void gtk_wrap_box_pack (GtkWrapBox *wbox,
GtkWidget *child,
gboolean hexpand,
gboolean hfill,
gboolean vexpand,
gboolean vfill);
void gtk_wrap_box_pack_wrapped (GtkWrapBox *wbox,
GtkWidget *child,
gboolean hexpand,
gboolean hfill,
gboolean vexpand,
gboolean vfill,
gboolean wrapped);
void gtk_wrap_box_reorder_child (GtkWrapBox *wbox,
GtkWidget *child,
gint position);
void gtk_wrap_box_query_child_packing (GtkWrapBox *wbox,
GtkWidget *child,
gboolean *hexpand,
gboolean *hfill,
gboolean *vexpand,
gboolean *vfill,
gboolean *wrapped);
void gtk_wrap_box_set_child_packing (GtkWrapBox *wbox,
GtkWidget *child,
gboolean hexpand,
gboolean hfill,
gboolean vexpand,
gboolean vfill,
gboolean wrapped);
guint* gtk_wrap_box_query_line_lengths (GtkWrapBox *wbox,
guint *n_lines);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkWrapBox +----GtkHWrapBox +----GtkVWrapBox
"aspect-ratio" gfloat : Read / Write "current-ratio" gfloat : Read "homogeneous" gboolean : Read / Write "hspacing" guint : Read / Write "justify" GtkJustification : Read / Write "line-justify" GtkJustification : Read / Write "max-children-per-line" guint : Read / Write "vspacing" guint : Read / Write
"hexpand" gboolean : Read / Write "hfill" gboolean : Read / Write "position" gint : Read / Write "vexpand" gboolean : Read / Write "vfill" gboolean : Read / Write "wrapped" gboolean : Read / Write
typedef struct {
GtkWidget *widget;
guint hexpand : 1;
guint hfill : 1;
guint vexpand : 1;
guint vfill : 1;
guint wrapped : 1;
GtkWrapBoxChild *next;
} GtkWrapBoxChild;
void gtk_wrap_box_set_homogeneous (GtkWrapBox *wbox, gboolean homogeneous);
|
|
|
void gtk_wrap_box_set_hspacing (GtkWrapBox *wbox, guint hspacing);
|
|
|
void gtk_wrap_box_set_vspacing (GtkWrapBox *wbox, guint vspacing);
|
|
|
void gtk_wrap_box_set_justify (GtkWrapBox *wbox, GtkJustification justify);
|
|
|
void gtk_wrap_box_set_line_justify (GtkWrapBox *wbox, GtkJustification line_justify);
|
|
|
void gtk_wrap_box_set_aspect_ratio (GtkWrapBox *wbox, gfloat aspect_ratio);
|
|
|
void gtk_wrap_box_pack (GtkWrapBox *wbox, GtkWidget *child, gboolean hexpand, gboolean hfill, gboolean vexpand, gboolean vfill);
|
|
|
|
|
|
|
|
|
|
|
void gtk_wrap_box_pack_wrapped (GtkWrapBox *wbox, GtkWidget *child, gboolean hexpand, gboolean hfill, gboolean vexpand, gboolean vfill, gboolean wrapped);
|
|
|
|
|
|
|
|
|
|
|
|
|
void gtk_wrap_box_reorder_child (GtkWrapBox *wbox, GtkWidget *child, gint position);
|
|
|
|
|
void gtk_wrap_box_query_child_packing (GtkWrapBox *wbox, GtkWidget *child, gboolean *hexpand, gboolean *hfill, gboolean *vexpand, gboolean *vfill, gboolean *wrapped);
|
|
|
|
|
|
|
|
|
|
|
|
|
void gtk_wrap_box_set_child_packing (GtkWrapBox *wbox, GtkWidget *child, gboolean hexpand, gboolean hfill, gboolean vexpand, gboolean vfill, gboolean wrapped);
|
|
|
|
|
|
|
|
|
|
|
|
|
guint* gtk_wrap_box_query_line_lengths (GtkWrapBox *wbox, guint *n_lines);
|
|
|
|
Returns : |
"aspect-ratio" property"aspect-ratio" gfloat : Read / Write
Allowed values: >= 0
Default value: 1
"hspacing" property"hspacing" guint : Read / Write
Allowed values: <= G_MAXINT
Default value: 0
"line-justify" property"line-justify" GtkJustification : Read / Write
Default value: GTK_JUSTIFY_RIGHT
"max-children-per-line" property"max-children-per-line" guint : Read / Write
Allowed values: [1,32767]
Default value: 32767
"vspacing" property"vspacing" guint : Read / Write
Allowed values: <= G_MAXINT
Default value: 0