| 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 |
struct GtkPacker; |
| Warning |
GtkPacker is deprecated and should not be used in newly-written code. |
typedef enum
{
GTK_PACK_EXPAND = 1 << 0, /*< nick=expand >*/
GTK_FILL_X = 1 << 1,
GTK_FILL_Y = 1 << 2
} GtkPackerOptions; |
| Warning |
GtkPackerOptions is deprecated and should not be used in newly-written code. |
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;
}; |
| Warning |
GtkPackerChild is deprecated and should not be used in newly-written code. |
GtkWidget* gtk_packer_new (void); |
| Warning |
gtk_packer_new is deprecated and should not be used in newly-written code. |
void gtk_packer_add_defaults (GtkPacker *packer, GtkWidget *child, GtkSideType side, GtkAnchorType anchor, GtkPackerOptions options); |
| Warning |
gtk_packer_add_defaults is deprecated and should not be used in newly-written code. |
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); |
| Warning |
gtk_packer_add is deprecated and should not be used in newly-written code. |
void gtk_packer_reorder_child (GtkPacker *packer, GtkWidget *child, gint position); |
| Warning |
gtk_packer_reorder_child is deprecated and should not be used in newly-written code. |
void gtk_packer_set_spacing (GtkPacker *packer, guint spacing); |
| Warning |
gtk_packer_set_spacing is deprecated and should not be used in newly-written code. |
void gtk_packer_set_default_border_width
(GtkPacker *packer,
guint border); |
| Warning |
gtk_packer_set_default_border_width is deprecated and should not be used in newly-written code. |
void gtk_packer_set_default_pad (GtkPacker *packer, guint pad_x, guint pad_y); |
| Warning |
gtk_packer_set_default_pad is deprecated and should not be used in newly-written code. |
void gtk_packer_set_default_ipad (GtkPacker *packer, guint i_pad_x, guint i_pad_y); |
| Warning |
gtk_packer_set_default_ipad is deprecated and should not be used in newly-written code. |
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); |
| Warning |
gtk_packer_set_child_packing is deprecated and should not be used in newly-written code. |