Gtk-- Reference: Gtk::Packer

Class Index | Cross Index | Namespace Index

# Class Gtk::Packer

Gtk_Packer is easy-to-use container widget.
Contained in: Gtk
Derived from: Gtk::Container
Derived by: none

#include <gtk--/packer.h>

### public function member index:
`` | `Packer` | `()`;
``void`` | `add` | `(`Widget`& `child`, `GtkSideType` `side`, `GtkAnchorType` `anchor`=GTK_ANCHOR_CENTER, `guint` `options`=(`guint`)`0`, `guint` `border_width`=GTKMM_PACKER_DEFAULT, `guint` `pad_x`=GTKMM_PACKER_DEFAULT, `guint` `pad_y`=GTKMM_PACKER_DEFAULT, `guint` `i_pad_x`=GTKMM_PACKER_DEFAULT, `guint` `i_pad_y`=GTKMM_PACKER_DEFAULT)`;
`PackerList&` | `children` | `()`;
``const` PackerList&` | `children` | `() `const``;
``guint`` | `get_default_border_width` | `() `const``;
``guint`` | `get_default_ipad_x` | `() `const``;
``guint`` | `get_default_ipad_y` | `() `const``;
``guint`` | `get_default_pad_x` | `() `const``;
``guint`` | `get_default_pad_y` | `() `const``;
``guint`` | `get_spacing` | `() `const``;
``GtkPacker`*` | `gtkobj` | `()`;
``const` `GtkPacker`*` | `gtkobj` | `() `const``;
``static` `bool`` | `isA` | `(`Object`* `object`)`;
``void`` | `set_default_border_width` | `(`guint` `border`)`;
``void`` | `set_default_ipad` | `(`guint` `i_pad_x`, `guint` `i_pad_y`)`;
``void`` | `set_default_pad` | `(`guint` `pad_x`, `guint` `pad_y`)`;
``void`` | `set_spacing` | `(`guint` `spacing`)`;
``virtual`` | `~Packer` | `()`;

## Description:

## Function Member Descriptions:

Gtk::Packer::add - Add a widget with specified location

``void`` `add``(`Widget`& `child`, `GtkSideType` `side`, `GtkAnchorType` `anchor`=GTK_ANCHOR_CENTER, `guint` `options`=(`guint`)`0`, `guint` `border_width`=GTKMM_PACKER_DEFAULT, `guint` `pad_x`=GTKMM_PACKER_DEFAULT, `guint` `pad_y`=GTKMM_PACKER_DEFAULT, `guint` `i_pad_x`=GTKMM_PACKER_DEFAULT, `guint` `i_pad_y`=GTKMM_PACKER_DEFAULT)`;

> `options`: `GTK_PACK_EXPAND, GTK_FILL_X, GTK_FILL_Y`

> `side`: `GTK_SIDE_TOP(default), GTK_SIDE_BOTTOM GTK_SIDE_LEFT, GTK_SIDE_RIGHT`

> `anchor`: `GTK_ANCHOR_CENTER, GTK_ANCHOR_NORTH | GTK_ANCHOR_N, GTK_ANCHOR_NORTH_WEST | GTK_ANCHOR_NW, GTK_ANCHOR_NORTH_EAST | GTK_ANCHOR_NE, GTK_ANCHOR_SOUTH | GTK_ANCHOR_S, GTK_ANCHOR_SOUTH_WEST | GTK_ANCHOR_SW, GTK_ANCHOR_SOUTH_EAST | GTK_ANCHOR_SE, GTK_ANCHOR_WEST | GTK_ANCHOR_W, GTK_ANCHOR_EAST | GTK_ANCHOR_E`

Gtk::Packer::gtkobj - Returns the underlaying gtk+ object.

``GtkPacker`*` `gtkobj``()`;
Gtk::Packer::isA - Returns true if object is this type.

``static` `bool`` `isA``(`Object`* `object`)`;