GTK+ Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
"spacing" guint : Read / Write "default_border_width" guint : Read / Write "default_pad_x" guint : Read / Write "default_pad_y" guint : Read / Write "default_ipad_x" guint : Read / Write "default_ipad_y" guint : Read / Write |
typedef enum { GTK_PACK_EXPAND = 1 << 0, /*< nick=expand >*/ GTK_FILL_X = 1 << 1, GTK_FILL_Y = 1 << 2 } GtkPackerOptions; |
typedef enum { GTK_SIDE_TOP, GTK_SIDE_BOTTOM, GTK_SIDE_LEFT, GTK_SIDE_RIGHT } GtkSideType; |
typedef enum { GTK_ANCHOR_CENTER, GTK_ANCHOR_NORTH, GTK_ANCHOR_NORTH_WEST, GTK_ANCHOR_NORTH_EAST, GTK_ANCHOR_SOUTH, GTK_ANCHOR_SOUTH_WEST, GTK_ANCHOR_SOUTH_EAST, GTK_ANCHOR_WEST, GTK_ANCHOR_EAST, GTK_ANCHOR_N = GTK_ANCHOR_NORTH, GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST, GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST, GTK_ANCHOR_S = GTK_ANCHOR_SOUTH, GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST, GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST, GTK_ANCHOR_W = GTK_ANCHOR_WEST, GTK_ANCHOR_E = GTK_ANCHOR_EAST } GtkAnchorType; |
struct GtkPackerChild { GtkWidget *widget; GtkAnchorType anchor; GtkSideType side; GtkPackerOptions options; guint use_default : 1; guint border_width : 16; guint pad_x : 16; guint pad_y : 16; guint i_pad_x : 16; guint i_pad_y : 16; }; |
void gtk_packer_add_defaults (GtkPacker *packer, GtkWidget *child, GtkSideType side, GtkAnchorType anchor, GtkPackerOptions options); |
packer : | |
child : | |
side : | |
anchor : | |
options : |
void gtk_packer_add (GtkPacker *packer, GtkWidget *child, GtkSideType side, GtkAnchorType anchor, GtkPackerOptions options, guint border_width, guint pad_x, guint pad_y, guint i_pad_x, guint i_pad_y); |
packer : | |
child : | |
side : | |
anchor : | |
options : | |
border_width : | |
pad_x : | |
pad_y : | |
i_pad_x : | |
i_pad_y : |
void gtk_packer_reorder_child (GtkPacker *packer, GtkWidget *child, gint position); |
packer : | |
child : | |
position : |
void gtk_packer_set_spacing (GtkPacker *packer, guint spacing); |
packer : | |
spacing : |
void gtk_packer_set_default_border_width (GtkPacker *packer, guint border); |
packer : | |
border : |
void gtk_packer_set_default_pad (GtkPacker *packer, guint pad_x, guint pad_y); |
packer : | |
pad_x : | |
pad_y : |
void gtk_packer_set_default_ipad (GtkPacker *packer, guint i_pad_x, guint i_pad_y); |
packer : | |
i_pad_x : | |
i_pad_y : |
void gtk_packer_set_child_packing (GtkPacker *packer, GtkWidget *child, GtkSideType side, GtkAnchorType anchor, GtkPackerOptions options, guint border_width, guint pad_x, guint pad_y, guint i_pad_x, guint i_pad_y); |
packer : | |
child : | |
side : | |
anchor : | |
options : | |
border_width : | |
pad_x : | |
pad_y : | |
i_pad_x : | |
i_pad_y : |