GTK+ Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <gtk/gtk.h> struct GtkBox; struct GtkBoxChild; void gtk_box_pack_start (GtkBox *box, GtkWidget *child, gboolean expand, gboolean fill, guint padding); void gtk_box_pack_end (GtkBox *box, GtkWidget *child, gboolean expand, gboolean fill, guint padding); void gtk_box_pack_start_defaults (GtkBox *box, GtkWidget *widget); void gtk_box_pack_end_defaults (GtkBox *box, GtkWidget *widget); void gtk_box_set_homogeneous (GtkBox *box, gboolean homogeneous); void gtk_box_set_spacing (GtkBox *box, gint spacing); void gtk_box_reorder_child (GtkBox *box, GtkWidget *child, gint position); void gtk_box_query_child_packing (GtkBox *box, GtkWidget *child, gboolean *expand, gboolean *fill, guint *padding, GtkPackType *pack_type); void gtk_box_set_child_packing (GtkBox *box, GtkWidget *child, gboolean expand, gboolean fill, guint padding, GtkPackType pack_type); |
struct GtkBoxChild { GtkWidget *widget; guint16 padding; guint expand : 1; guint fill : 1; guint pack : 1; }; |
void gtk_box_pack_start (GtkBox *box, GtkWidget *child, gboolean expand, gboolean fill, guint padding); |
box : | |
child : | |
expand : | |
fill : | |
padding : |
void gtk_box_pack_end (GtkBox *box, GtkWidget *child, gboolean expand, gboolean fill, guint padding); |
box : | |
child : | |
expand : | |
fill : | |
padding : |
void gtk_box_pack_start_defaults (GtkBox *box, GtkWidget *widget); |
box : | |
widget : |
void gtk_box_pack_end_defaults (GtkBox *box, GtkWidget *widget); |
box : | |
widget : |
void gtk_box_set_homogeneous (GtkBox *box, gboolean homogeneous); |
box : | |
homogeneous : |
void gtk_box_reorder_child (GtkBox *box, GtkWidget *child, gint position); |
box : | |
child : | |
position : |
void gtk_box_query_child_packing (GtkBox *box, GtkWidget *child, gboolean *expand, gboolean *fill, guint *padding, GtkPackType *pack_type); |
box : | |
child : | |
expand : | |
fill : | |
padding : | |
pack_type : |