Go to the first, previous, next, last section, table of contents.


6.13 The container widget

6.13.1 Description

A base class for objects that are built out of other widgets. Many widgets are containers. For example, a button contains a widget. That widget might be a text label (usually is), or a pixmap, or even an hbox which has a label and a pixmap.

6.13.2 Options

User Option: border_width

6.13.3 Signals

Signal: void GtkContainer::add (GtkContainer *container, GtkWidget *widget)

Signal: void GtkContainer::remove (GtkContainer *container, GtkWidget *widget)

Signal: void GtkContainer::need_resize (GtkContainer *container, GtkWidget *widget)

Signal: void GtkContainer::foreach (GtkContainer *container, GtkCallback callback, gpointer callback_data)

Signal: gint GtkContainer::focus (GtkContainer *container, GtkDirectionType direction)

6.13.4 Functions

Function: guint gtk_container_get_type (void)
Returns the GtkContainer type identifier.

Function: void gtk_container_border_width (GtkContainer *container, gint border_width)

Function: void gtk_container_add (GtkContainer *container, GtkWidget *widget)
Add widget to the container.

Function: void gtk_container_remove (GtkContainer *container, GtkWidget *widget)
Remove widget from container.

Function: void gtk_container_disable_resize (GtkContainer *container)

Function: void gtk_container_enable_resize (GtkContainer *container)

Function: void gtk_container_block_resize (GtkContainer *container)

Function: void gtk_container_unblock_resize (GtkContainer *container)

Function: gint gtk_container_need_resize (GtkContainer *container, GtkWidget *widget)

Function: void gtk_container_check_resize (GtkContainer *container, GtkWidget *widget)

Function: void gtk_container_foreach (GtkContainer *container, GtkCallback callback, gpointer callback_data)

Function: void gtk_container_focus (GtkContainer *container, GtkDirectionType direction)

Function: GList* gtk_container_children (GtkContainer container)

@gtkstdmacros{Container, CONTAINER}


Go to the first, previous, next, last section, table of contents.