| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkContainer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="prev" href="GtkButtonBox.html" title="GtkButtonBox">
<link rel="next" href="GtkItem.html" title="GtkItem">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="Builder.html" title="Interface builder">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="chapter" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
<link rel="chapter" href="gtk-migrating-tooltips.html" title="Migrating from GtkTooltips to GtkTooltip">
<link rel="chapter" href="gtk-migrating-entry-icons.html" title="Migrating from SexyIconEntry to GtkEntry">
<link rel="chapter" href="gtk-migrating-label-links.html" title="Migrating from SexyUrlLabel to GtkLabel">
<link rel="chapter" href="gtk-migrating-ClientSideWindows.html" title="Migrating to client-side windows">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="api-index-full.html" title="Index of all symbols">
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
<link rel="index" href="api-index-2-2.html" title="Index of new symbols in 2.2">
<link rel="index" href="api-index-2-4.html" title="Index of new symbols in 2.4">
<link rel="index" href="api-index-2-6.html" title="Index of new symbols in 2.6">
<link rel="index" href="api-index-2-8.html" title="Index of new symbols in 2.8">
<link rel="index" href="api-index-2-10.html" title="Index of new symbols in 2.10">
<link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
<link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
<link rel="index" href="api-index-2-16.html" title="Index of new symbols in 2.16">
<link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkButtonBox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="AbstractObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkItem.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkContainer.synopsis" class="shortcut">Top</a>
|
<a href="#GtkContainer.description" class="shortcut">Description</a>
|
<a href="#GtkContainer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GtkContainer.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GtkContainer.properties" class="shortcut">Properties</a>
|
<a href="#GtkContainer.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="GtkContainer">
<a name="GtkContainer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkContainer.top_of_page"></a>GtkContainer</span></h2>
<p>GtkContainer — Base class for widgets which contain other widgets</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="GtkContainer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a class="link" href="GtkContainer.html#GtkContainer-struct" title="GtkContainer">GtkContainer</a>;
#define <a class="link" href="GtkContainer.html#GTK-IS-RESIZE-CONTAINER--CAPS" title="GTK_IS_RESIZE_CONTAINER()">GTK_IS_RESIZE_CONTAINER</a> (widget)
#define <a class="link" href="GtkContainer.html#GTK-CONTAINER-WARN-INVALID-CHILD-PROPERTY-ID--CAPS" title="GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID()">GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID</a>(object, property_id, pspec)
#define <a class="link" href="GtkContainer.html#gtk-container-border-width" title="gtk_container_border_width">gtk_container_border_width</a>
void <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()">gtk_container_add</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);
void <a class="link" href="GtkContainer.html#gtk-container-remove" title="gtk_container_remove ()">gtk_container_remove</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);
void <a class="link" href="GtkContainer.html#gtk-container-add-with-properties" title="gtk_container_add_with_properties ()">gtk_container_add_with_properties</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_prop_name,
...);
<a class="link" href="gtk-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a> <a class="link" href="GtkContainer.html#gtk-container-get-resize-mode" title="gtk_container_get_resize_mode ()">gtk_container_get_resize_mode</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-set-resize-mode" title="gtk_container_set_resize_mode ()">gtk_container_set_resize_mode</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="gtk-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a> resize_mode);
void <a class="link" href="GtkContainer.html#gtk-container-check-resize" title="gtk_container_check_resize ()">gtk_container_check_resize</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-foreach" title="gtk_container_foreach ()">gtk_container_foreach</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()">GtkCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a class="link" href="GtkContainer.html#gtk-container-foreach-full" title="gtk_container_foreach_full ()">gtk_container_foreach_full</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()">GtkCallback</a> callback,
<a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()">GtkCallbackMarshal</a> marshal,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> notify);
#define <a class="link" href="GtkContainer.html#gtk-container-children" title="gtk_container_children">gtk_container_children</a>
<a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* <a class="link" href="GtkContainer.html#gtk-container-get-children" title="gtk_container_get_children ()">gtk_container_get_children</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-set-reallocate-redraws" title="gtk_container_set_reallocate_redraws ()">gtk_container_set_reallocate_redraws</a>
(<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> needs_redraws);
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> * <a class="link" href="GtkContainer.html#gtk-container-get-focus-child" title="gtk_container_get_focus_child ()">gtk_container_get_focus_child</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-set-focus-child" title="gtk_container_set_focus_child ()">gtk_container_set_focus_child</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> * <a class="link" href="GtkContainer.html#gtk-container-get-focus-vadjustment" title="gtk_container_get_focus_vadjustment ()">gtk_container_get_focus_vadjustment</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-set-focus-vadjustment" title="gtk_container_set_focus_vadjustment ()">gtk_container_set_focus_vadjustment</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> * <a class="link" href="GtkContainer.html#gtk-container-get-focus-hadjustment" title="gtk_container_get_focus_hadjustment ()">gtk_container_get_focus_hadjustment</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-set-focus-hadjustment" title="gtk_container_set_focus_hadjustment ()">gtk_container_set_focus_hadjustment</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
void <a class="link" href="GtkContainer.html#gtk-container-resize-children" title="gtk_container_resize_children ()">gtk_container_resize_children</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> <a class="link" href="GtkContainer.html#gtk-container-child-type" title="gtk_container_child_type ()">gtk_container_child_type</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-child-get" title="gtk_container_child_get ()">gtk_container_child_get</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_prop_name,
...);
void <a class="link" href="GtkContainer.html#gtk-container-child-set" title="gtk_container_child_set ()">gtk_container_child_set</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_prop_name,
...);
void <a class="link" href="GtkContainer.html#gtk-container-child-get-property" title="gtk_container_child_get_property ()">gtk_container_child_get_property</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);
void <a class="link" href="GtkContainer.html#gtk-container-child-set-property" title="gtk_container_child_set_property ()">gtk_container_child_set_property</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name,
const <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);
void <a class="link" href="GtkContainer.html#gtk-container-child-get-valist" title="gtk_container_child_get_valist ()">gtk_container_child_get_valist</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_property_name,
va_list var_args);
void <a class="link" href="GtkContainer.html#gtk-container-child-set-valist" title="gtk_container_child_set_valist ()">gtk_container_child_set_valist</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_property_name,
va_list var_args);
void <a class="link" href="GtkContainer.html#gtk-container-forall" title="gtk_container_forall ()">gtk_container_forall</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()">GtkCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> <a class="link" href="GtkContainer.html#gtk-container-get-border-width" title="gtk_container_get_border_width ()">gtk_container_get_border_width</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
void <a class="link" href="GtkContainer.html#gtk-container-set-border-width" title="gtk_container_set_border_width ()">gtk_container_set_border_width</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> border_width);
void <a class="link" href="GtkContainer.html#gtk-container-propagate-expose" title="gtk_container_propagate_expose ()">gtk_container_propagate_expose</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
<a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventExpose"
>GdkEventExpose</a> *event);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GtkContainer.html#gtk-container-get-focus-chain" title="gtk_container_get_focus_chain ()">gtk_container_get_focus_chain</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> **focusable_widgets);
void <a class="link" href="GtkContainer.html#gtk-container-set-focus-chain" title="gtk_container_set_focus_chain ()">gtk_container_set_focus_chain</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *focusable_widgets);
void <a class="link" href="GtkContainer.html#gtk-container-unset-focus-chain" title="gtk_container_unset_focus_chain ()">gtk_container_unset_focus_chain</a> (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* <a class="link" href="GtkContainer.html#gtk-container-class-find-child-property" title="gtk_container_class_find_child_property ()">gtk_container_class_find_child_property</a>
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"
>GObjectClass</a> *cclass,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name);
void <a class="link" href="GtkContainer.html#gtk-container-class-install-child-property" title="gtk_container_class_install_child_property ()">gtk_container_class_install_child_property</a>
(GtkContainerClass *cclass,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> property_id,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec);
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>** <a class="link" href="GtkContainer.html#gtk-container-class-list-child-properties" title="gtk_container_class_list_child_properties ()">gtk_container_class_list_child_properties</a>
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"
>GObjectClass</a> *cclass,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> *n_properties);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="GtkContainer.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----GtkContainer
+----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
+----<a class="link" href="GtkBox.html" title="GtkBox">GtkBox</a>
+----<a class="link" href="GtkCList.html" title="GtkCList">GtkCList</a>
+----<a class="link" href="GtkFixed.html" title="GtkFixed">GtkFixed</a>
+----<a class="link" href="GtkPaned.html" title="GtkPaned">GtkPaned</a>
+----<a class="link" href="GtkIconView.html" title="GtkIconView">GtkIconView</a>
+----<a class="link" href="GtkLayout.html" title="GtkLayout">GtkLayout</a>
+----<a class="link" href="GtkList.html" title="GtkList">GtkList</a>
+----<a class="link" href="GtkMenuShell.html" title="GtkMenuShell">GtkMenuShell</a>
+----<a class="link" href="GtkNotebook.html" title="GtkNotebook">GtkNotebook</a>
+----<a class="link" href="GtkSocket.html" title="GtkSocket">GtkSocket</a>
+----<a class="link" href="GtkTable.html" title="GtkTable">GtkTable</a>
+----<a class="link" href="GtkTextView.html" title="GtkTextView">GtkTextView</a>
+----<a class="link" href="GtkToolbar.html" title="GtkToolbar">GtkToolbar</a>
+----<a class="link" href="GtkTree.html" title="GtkTree">GtkTree</a>
+----<a class="link" href="GtkTreeView.html" title="GtkTreeView">GtkTreeView</a>
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="GtkContainer.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkContainer implements
AtkImplementorIface and <a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="GtkContainer.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GtkContainer.html#GtkContainer--border-width" title='The "border-width" property'>border-width</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> : Read / Write
"<a class="link" href="GtkContainer.html#GtkContainer--child" title='The "child" property'>child</a>" <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* : Write
"<a class="link" href="GtkContainer.html#GtkContainer--resize-mode" title='The "resize-mode" property'>resize-mode</a>" <a class="link" href="gtk-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a> : Read / Write
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="GtkContainer.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GtkContainer.html#GtkContainer-add" title='The "add" signal'>add</a>" : Run First
"<a class="link" href="GtkContainer.html#GtkContainer-check-resize" title='The "check-resize" signal'>check-resize</a>" : Run Last
"<a class="link" href="GtkContainer.html#GtkContainer-remove" title='The "remove" signal'>remove</a>" : Run First
"<a class="link" href="GtkContainer.html#GtkContainer-set-focus-child" title='The "set-focus-child" signal'>set-focus-child</a>" : Run First
</pre>
</div>
<div class="refsect1" title="Description">
<a name="GtkContainer.description"></a><h2>Description</h2>
<p>
A GTK+ user interface is constructed by nesting widgets inside widgets.
Container widgets are the inner nodes in the resulting tree of widgets:
they contain other widgets. So, for example, you might have a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>
containing a <a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a> containing a GtkLabel. If you wanted an image instead
of a textual label inside the frame, you might replace the <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget
with a <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> widget.
</p>
<p>
There are two major kinds of container widgets in GTK+. Both are subclasses
of the abstract <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> base class.
</p>
<p>
The first type of container widget has a single child widget and derives
from <a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a>. These containers are <em class="firstterm">decorators</em>, which
add some kind of functionality to the child. For example, a <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> makes
its child into a clickable button; a <a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a> draws a frame around its child
and a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> places its child widget inside a top-level window.
</p>
<p>
The second type of container can have more than one child; its purpose is to
manage <em class="firstterm">layout</em>. This means that these containers assign
sizes and positions to their children. For example, a <a class="link" href="GtkHBox.html" title="GtkHBox"><span class="type">GtkHBox</span></a> arranges its
children in a horizontal row, and a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> arranges the widgets it contains
in a two-dimensional grid.
</p>
<p>
To fulfill its task, a layout container must negotiate the size requirements
with its parent and its children. This negotiation is carried out in two
phases, <em class="firstterm">size requisition</em> and <em class="firstterm">size
allocation</em>.
</p>
<div class="refsect2" title="Size Requisition">
<a name="size-requisition"></a><h3>Size Requisition</h3>
<p>
The size requisition of a widget is it's desired width and height.
This is represented by a <a class="link" href="GtkWidget.html#GtkRequisition" title="GtkRequisition"><span class="type">GtkRequisition</span></a>.
</p>
<p>
How a widget determines its desired size depends on the widget.
A <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, for example, requests enough space to display all its text.
Container widgets generally base their size request on the requisitions
of their children.
</p>
<p>
The size requisition phase of the widget layout process operates top-down.
It starts at a top-level widget, typically a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>. The top-level widget
asks its child for its size requisition by calling <a class="link" href="GtkWidget.html#gtk-widget-size-request" title="gtk_widget_size_request ()"><code class="function">gtk_widget_size_request()</code></a>.
To determine its requisition, the child asks its own children for their
requisitions and so on. Finally, the top-level widget will get a requisition
back from its child.
</p>
</div>
<hr>
<div class="refsect2" title="Size Allocation">
<a name="size-allocation"></a><h3>Size Allocation</h3>
<p>
When the top-level widget has determined how much space its child would like
to have, the second phase of the size negotiation, size allocation, begins.
Depending on its configuration (see <a class="link" href="GtkWindow.html#gtk-window-set-resizable" title="gtk_window_set_resizable ()"><code class="function">gtk_window_set_resizable()</code></a>), the top-level
widget may be able to expand in order to satisfy the size request or it may
have to ignore the size request and keep its fixed size. It then tells its
child widget how much space it gets by calling <a class="link" href="GtkWidget.html#gtk-widget-size-allocate" title="gtk_widget_size_allocate ()"><code class="function">gtk_widget_size_allocate()</code></a>.
The child widget divides the space among its children and tells each child
how much space it got, and so on. Under normal circumstances, a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>
will always give its child the amount of space the child requested.
</p>
<p>
A child's size allocation is represented by a <a class="link" href="GtkWidget.html#GtkAllocation" title="struct GtkAllocation"><span class="type">GtkAllocation</span></a>. This struct
contains not only a width and height, but also a position (i.e. X and Y
coordinates), so that containers can tell their children not only how much
space they have gotten, but also where they are positioned inside the space
available to the container.
</p>
<p>
Widgets are required to honor the size allocation they receive; a size
request is only a request, and widgets must be able to cope with any size.
</p>
</div>
<hr>
<div class="refsect2" title="Child properties">
<a name="child-properties"></a><h3>Child properties</h3>
<p>
<span class="structname">GtkContainer</span> introduces <em class="firstterm">child
properties</em> - these are object properties that are not specific
to either the container or the contained widget, but rather to their relation.
Typical examples of child properties are the position or pack-type of a widget
which is contained in a <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a>.</p>
<p>
Use <a class="link" href="GtkContainer.html#gtk-container-class-install-child-property" title="gtk_container_class_install_child_property ()"><code class="function">gtk_container_class_install_child_property()</code></a> to install child properties
for a container class and <a class="link" href="GtkContainer.html#gtk-container-class-find-child-property" title="gtk_container_class_find_child_property ()"><code class="function">gtk_container_class_find_child_property()</code></a> or
<a class="link" href="GtkContainer.html#gtk-container-class-list-child-properties" title="gtk_container_class_list_child_properties ()"><code class="function">gtk_container_class_list_child_properties()</code></a> to get information about existing
child properties.
</p>
<p>
To set the value of a child property, use <a class="link" href="GtkContainer.html#gtk-container-child-set-property" title="gtk_container_child_set_property ()"><code class="function">gtk_container_child_set_property()</code></a>,
<a class="link" href="GtkContainer.html#gtk-container-child-set" title="gtk_container_child_set ()"><code class="function">gtk_container_child_set()</code></a> or <a class="link" href="GtkContainer.html#gtk-container-child-set-valist" title="gtk_container_child_set_valist ()"><code class="function">gtk_container_child_set_valist()</code></a>.
To obtain the value of a child property, use
<a class="link" href="GtkContainer.html#gtk-container-child-get-property" title="gtk_container_child_get_property ()"><code class="function">gtk_container_child_get_property()</code></a>, <a class="link" href="GtkContainer.html#gtk-container-child-get" title="gtk_container_child_get ()"><code class="function">gtk_container_child_get()</code></a> or
<a class="link" href="GtkContainer.html#gtk-container-child-get-valist" title="gtk_container_child_get_valist ()"><code class="function">gtk_container_child_get_valist()</code></a>. To emit notification about child property
changes, use <a class="link" href="GtkWidget.html#gtk-widget-child-notify" title="gtk_widget_child_notify ()"><code class="function">gtk_widget_child_notify()</code></a>.
</p>
</div>
<hr>
<div class="refsect2" title="GtkContainer as GtkBuildable">
<a name="GtkContainer-BUILDER-UI"></a><h3>GtkContainer as GtkBuildable</h3>
<p>
The GtkContainer implementation of the GtkBuildable interface
supports a <packing> element for children, which can
contain multiple <property> elements that specify
child properties for the child.
</p>
<div class="example">
<a name="id1182599"></a><p class="title"><b>Example 52. Child properties in UI definitions</b></p>
<div class="example-contents"><pre class="programlisting">
<object class="GtkVBox">
<child>
<object class="GtkLabel"/>
<packing>
<property name="pack-type">start</property>
</packing>
</child>
</object>
</pre></div>
</div>
<br class="example-break"><p>
Since 2.16, child properties can also be marked as translatable using
the same "translatable", "comments" and "context" attributes that are used
for regular properties.
</p>
</div>
</div>
<div class="refsect1" title="Details">
<a name="GtkContainer.details"></a><h2>Details</h2>
<div class="refsect2" title="GtkContainer">
<a name="GtkContainer-struct"></a><h3>GtkContainer</h3>
<pre class="programlisting">typedef struct _GtkContainer GtkContainer;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="GTK_IS_RESIZE_CONTAINER()">
<a name="GTK-IS-RESIZE-CONTAINER--CAPS"></a><h3>GTK_IS_RESIZE_CONTAINER()</h3>
<pre class="programlisting">#define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER (widget) && ((GtkContainer*) (widget))->resize_mode != GTK_RESIZE_PARENT)
</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID()">
<a name="GTK-CONTAINER-WARN-INVALID-CHILD-PROPERTY-ID--CAPS"></a><h3>GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID()</h3>
<pre class="programlisting">#define GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID(object, property_id, pspec)</pre>
<p>
This macro should be used to emit a standard warning about unexpected
properties in <code class="function">set_child_property()</code> and <code class="function">get_child_property()</code> implementations.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>the <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> on which <code class="function">set_child_property()</code> or <code class="function">get_child_property()</code>
was called
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
<td>the numeric id of the property
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
<td>the <a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> of the property
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_border_width">
<a name="gtk-container-border-width"></a><h3>gtk_container_border_width</h3>
<pre class="programlisting">#define gtk_container_border_width gtk_container_set_border_width
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_container_border_width</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkContainer.html#gtk-container-set-border-width" title="gtk_container_set_border_width ()"><code class="function">gtk_container_set_border_width()</code></a> instead.</p>
</div>
<p>
Does the same as <a class="link" href="GtkContainer.html#gtk-container-set-border-width" title="gtk_container_set_border_width ()"><code class="function">gtk_container_set_border_width()</code></a>.
</p>
</div>
<hr>
<div class="refsect2" title="gtk_container_add ()">
<a name="gtk-container-add"></a><h3>gtk_container_add ()</h3>
<pre class="programlisting">void gtk_container_add (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);</pre>
<p>
Adds <em class="parameter"><code>widget</code></em> to <em class="parameter"><code>container</code></em>. Typically used for simple containers
such as <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>, <a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>, or <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>; for more complicated
layout containers such as <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> or <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>, this function will
pick default packing parameters that may not be correct. So
consider functions such as <a class="link" href="GtkBox.html#gtk-box-pack-start" title="gtk_box_pack_start ()"><code class="function">gtk_box_pack_start()</code></a> and
<a class="link" href="GtkTable.html#gtk-table-attach" title="gtk_table_attach ()"><code class="function">gtk_table_attach()</code></a> as an alternative to <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> in
those cases. A widget may be added to only one container at a time;
you can't place the same widget inside two different containers.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td> a widget to be placed inside <em class="parameter"><code>container</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_remove ()">
<a name="gtk-container-remove"></a><h3>gtk_container_remove ()</h3>
<pre class="programlisting">void gtk_container_remove (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);</pre>
<p>
Removes <em class="parameter"><code>widget</code></em> from <em class="parameter"><code>container</code></em>. <em class="parameter"><code>widget</code></em> must be inside <em class="parameter"><code>container</code></em>.
Note that <em class="parameter"><code>container</code></em> will own a reference to <em class="parameter"><code>widget</code></em>, and that this
may be the last reference held; so removing a widget from its
container can destroy that widget. If you want to use <em class="parameter"><code>widget</code></em>
again, you need to add a reference to it while it's not inside
a container, using <a
href="/usr/share/gtk-doc/html/libmissioncontrol-server/libmissioncontrol-server-mcd-debug.html#g-object-ref"
><code class="function">g_object_ref()</code></a>. If you don't want to use <em class="parameter"><code>widget</code></em>
again it's usually more efficient to simply destroy it directly
using <a class="link" href="GtkWidget.html#gtk-widget-destroy" title="gtk_widget_destroy ()"><code class="function">gtk_widget_destroy()</code></a> since this will remove it from the
container and help break any circular reference count cycles.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td> a current child of <em class="parameter"><code>container</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_add_with_properties ()">
<a name="gtk-container-add-with-properties"></a><h3>gtk_container_add_with_properties ()</h3>
<pre class="programlisting">void gtk_container_add_with_properties (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_prop_name,
...);</pre>
<p>
Adds <em class="parameter"><code>widget</code></em> to <em class="parameter"><code>container</code></em>, setting child properties at the same time.
See <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> and <a class="link" href="GtkContainer.html#gtk-container-child-set" title="gtk_container_child_set ()"><code class="function">gtk_container_child_set()</code></a> for more details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td> a widget to be placed inside <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_prop_name</code></em> :</span></p></td>
<td> the name of the first child property to set
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>-terminated list of property names and values, starting
with <em class="parameter"><code>first_prop_name</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_get_resize_mode ()">
<a name="gtk-container-get-resize-mode"></a><h3>gtk_container_get_resize_mode ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a> gtk_container_get_resize_mode (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Returns the resize mode for the container. See
<a class="link" href="GtkContainer.html#gtk-container-set-resize-mode" title="gtk_container_set_resize_mode ()"><code class="function">gtk_container_set_resize_mode()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the current resize mode
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_set_resize_mode ()">
<a name="gtk-container-set-resize-mode"></a><h3>gtk_container_set_resize_mode ()</h3>
<pre class="programlisting">void gtk_container_set_resize_mode (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="gtk-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a> resize_mode);</pre>
<p>
Sets the resize mode for the container.
</p>
<p>
The resize mode of a container determines whether a resize request
will be passed to the container's parent, queued for later execution
or executed immediately.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>resize_mode</code></em> :</span></p></td>
<td> the new resize mode
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_check_resize ()">
<a name="gtk-container-check-resize"></a><h3>gtk_container_check_resize ()</h3>
<pre class="programlisting">void gtk_container_check_resize (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_foreach ()">
<a name="gtk-container-foreach"></a><h3>gtk_container_foreach ()</h3>
<pre class="programlisting">void gtk_container_foreach (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()">GtkCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
<p>
Invokes <em class="parameter"><code>callback</code></em> on each non-internal child of <em class="parameter"><code>container</code></em>. See
<a class="link" href="GtkContainer.html#gtk-container-forall" title="gtk_container_forall ()"><code class="function">gtk_container_forall()</code></a> for details on what constitutes an
"internal" child. Most applications should use
<a class="link" href="GtkContainer.html#gtk-container-foreach" title="gtk_container_foreach ()"><code class="function">gtk_container_foreach()</code></a>, rather than <a class="link" href="GtkContainer.html#gtk-container-forall" title="gtk_container_forall ()"><code class="function">gtk_container_forall()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
<td> callback user data
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_foreach_full ()">
<a name="gtk-container-foreach-full"></a><h3>gtk_container_foreach_full ()</h3>
<pre class="programlisting">void gtk_container_foreach_full (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()">GtkCallback</a> callback,
<a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()">GtkCallbackMarshal</a> marshal,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> notify);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_container_foreach_full</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkContainer.html#gtk-container-foreach" title="gtk_container_foreach ()"><code class="function">gtk_container_foreach()</code></a> instead.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_children">
<a name="gtk-container-children"></a><h3>gtk_container_children</h3>
<pre class="programlisting">#define gtk_container_children gtk_container_get_children
</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_container_children</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkContainer.html#gtk-container-get-children" title="gtk_container_get_children ()"><code class="function">gtk_container_get_children()</code></a> instead.</p>
</div>
<p>
Does the same as <a class="link" href="GtkContainer.html#gtk-container-get-children" title="gtk_container_get_children ()"><code class="function">gtk_container_get_children()</code></a>.
</p>
</div>
<hr>
<div class="refsect2" title="gtk_container_get_children ()">
<a name="gtk-container-get-children"></a><h3>gtk_container_get_children ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* gtk_container_get_children (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Returns the container's non-internal children. See
<a class="link" href="GtkContainer.html#gtk-container-forall" title="gtk_container_forall ()"><code class="function">gtk_container_forall()</code></a> for details on what constitutes an "internal" child.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly-allocated list of the container's non-internal children.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_set_reallocate_redraws ()">
<a name="gtk-container-set-reallocate-redraws"></a><h3>gtk_container_set_reallocate_redraws ()</h3>
<pre class="programlisting">void gtk_container_set_reallocate_redraws
(<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> needs_redraws);</pre>
<p>
Sets the <em class="parameter"><code>reallocate_redraws</code></em> flag of the container to the given value.
</p>
<p>
Containers requesting reallocation redraws get automatically
redrawn if any of their children changed allocation.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>needs_redraws</code></em> :</span></p></td>
<td> the new value for the container's <em class="parameter"><code>reallocate_redraws</code></em> flag
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_get_focus_child ()">
<a name="gtk-container-get-focus-child"></a><h3>gtk_container_get_focus_child ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> * gtk_container_get_focus_child (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Returns the current focus child widget inside <em class="parameter"><code>container</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The child widget which has the focus
inside <em class="parameter"><code>container</code></em>, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if none is set.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" title="gtk_container_set_focus_child ()">
<a name="gtk-container-set-focus-child"></a><h3>gtk_container_set_focus_child ()</h3>
<pre class="programlisting">void gtk_container_set_focus_child (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Sets, or unsets if <em class="parameter"><code>child</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>, the focused child of <em class="parameter"><code>container</code></em>.
</p>
<p>
This function emits the GtkContainer::set_focus_child signal of
<em class="parameter"><code>container</code></em>. Implementations of <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> can override the
default behaviour by overriding the class closure of this signal.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_get_focus_vadjustment ()">
<a name="gtk-container-get-focus-vadjustment"></a><h3>gtk_container_get_focus_vadjustment ()</h3>
<pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> * gtk_container_get_focus_vadjustment (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Retrieves the vertical focus adjustment for the container. See
<a class="link" href="GtkContainer.html#gtk-container-set-focus-vadjustment" title="gtk_container_set_focus_vadjustment ()"><code class="function">gtk_container_set_focus_vadjustment()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the vertical focus adjustment, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if
none has been set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_set_focus_vadjustment ()">
<a name="gtk-container-set-focus-vadjustment"></a><h3>gtk_container_set_focus_vadjustment ()</h3>
<pre class="programlisting">void gtk_container_set_focus_vadjustment (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Hooks up an adjustment to focus handling in a container, so when a
child of the container is focused, the adjustment is scrolled to
show that widget. This function sets the vertical alignment. See
<a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-get-vadjustment" title="gtk_scrolled_window_get_vadjustment ()"><code class="function">gtk_scrolled_window_get_vadjustment()</code></a> for a typical way of obtaining
the adjustment and <a class="link" href="GtkContainer.html#gtk-container-set-focus-hadjustment" title="gtk_container_set_focus_hadjustment ()"><code class="function">gtk_container_set_focus_hadjustment()</code></a> for setting
the horizontal adjustment.
</p>
<p>
The adjustments have to be in pixel units and in the same coordinate
system as the allocation for immediate children of the container.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
<td> an adjustment which should be adjusted when the focus
is moved among the descendents of <em class="parameter"><code>container</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_get_focus_hadjustment ()">
<a name="gtk-container-get-focus-hadjustment"></a><h3>gtk_container_get_focus_hadjustment ()</h3>
<pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> * gtk_container_get_focus_hadjustment (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Retrieves the horizontal focus adjustment for the container. See
<a class="link" href="GtkContainer.html#gtk-container-set-focus-hadjustment" title="gtk_container_set_focus_hadjustment ()"><code class="function">gtk_container_set_focus_hadjustment()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the horizontal focus adjustment, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if
none has been set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_set_focus_hadjustment ()">
<a name="gtk-container-set-focus-hadjustment"></a><h3>gtk_container_set_focus_hadjustment ()</h3>
<pre class="programlisting">void gtk_container_set_focus_hadjustment (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Hooks up an adjustment to focus handling in a container, so when a child
of the container is focused, the adjustment is scrolled to show that
widget. This function sets the horizontal alignment.
See <a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-get-hadjustment" title="gtk_scrolled_window_get_hadjustment ()"><code class="function">gtk_scrolled_window_get_hadjustment()</code></a> for a typical way of obtaining
the adjustment and <a class="link" href="GtkContainer.html#gtk-container-set-focus-vadjustment" title="gtk_container_set_focus_vadjustment ()"><code class="function">gtk_container_set_focus_vadjustment()</code></a> for setting
the vertical adjustment.
</p>
<p>
The adjustments have to be in pixel units and in the same coordinate
system as the allocation for immediate children of the container.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
<td> an adjustment which should be adjusted when the focus is
moved among the descendents of <em class="parameter"><code>container</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_resize_children ()">
<a name="gtk-container-resize-children"></a><h3>gtk_container_resize_children ()</h3>
<pre class="programlisting">void gtk_container_resize_children (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_child_type ()">
<a name="gtk-container-child-type"></a><h3>gtk_container_child_type ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> gtk_container_child_type (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Returns the type of the children supported by the container.
</p>
<p>
Note that this may return <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-NONE--CAPS"
><code class="literal">G_TYPE_NONE</code></a> to indicate that no more
children can be added, e.g. for a <a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a> which already has two
children.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_child_get ()">
<a name="gtk-container-child-get"></a><h3>gtk_container_child_get ()</h3>
<pre class="programlisting">void gtk_container_child_get (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_prop_name,
...);</pre>
<p>
Gets the values of one or more child properties for <em class="parameter"><code>child</code></em> and <em class="parameter"><code>container</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget which is a child of <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_prop_name</code></em> :</span></p></td>
<td> the name of the first property to get
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> return location for the first property, followed
optionally by more name/return location pairs, followed by <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_child_set ()">
<a name="gtk-container-child-set"></a><h3>gtk_container_child_set ()</h3>
<pre class="programlisting">void gtk_container_child_set (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_prop_name,
...);</pre>
<p>
Sets one or more child properties for <em class="parameter"><code>child</code></em> and <em class="parameter"><code>container</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget which is a child of <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_prop_name</code></em> :</span></p></td>
<td> the name of the first property to set
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>-terminated list of property names and values, starting
with <em class="parameter"><code>first_prop_name</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_child_get_property ()">
<a name="gtk-container-child-get-property"></a><h3>gtk_container_child_get_property ()</h3>
<pre class="programlisting">void gtk_container_child_get_property (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);</pre>
<p>
Gets the value of a child property for <em class="parameter"><code>child</code></em> and <em class="parameter"><code>container</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget which is a child of <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
<td> the name of the property to get
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td> a location to return the value
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_child_set_property ()">
<a name="gtk-container-child-set-property"></a><h3>gtk_container_child_set_property ()</h3>
<pre class="programlisting">void gtk_container_child_set_property (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name,
const <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);</pre>
<p>
Sets a child property for <em class="parameter"><code>child</code></em> and <em class="parameter"><code>container</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget which is a child of <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
<td> the name of the property to set
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td> the value to set the property to
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_child_get_valist ()">
<a name="gtk-container-child-get-valist"></a><h3>gtk_container_child_get_valist ()</h3>
<pre class="programlisting">void gtk_container_child_get_valist (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_property_name,
va_list var_args);</pre>
<p>
Gets the values of one or more child properties for <em class="parameter"><code>child</code></em> and <em class="parameter"><code>container</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget which is a child of <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
<td> the name of the first property to get
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
<td> return location for the first property, followed
optionally by more name/return location pairs, followed by <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_child_set_valist ()">
<a name="gtk-container-child-set-valist"></a><h3>gtk_container_child_set_valist ()</h3>
<pre class="programlisting">void gtk_container_child_set_valist (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_property_name,
va_list var_args);</pre>
<p>
Sets one or more child properties for <em class="parameter"><code>child</code></em> and <em class="parameter"><code>container</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a widget which is a child of <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
<td> the name of the first property to set
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>-terminated list of property names and values, starting
with <em class="parameter"><code>first_prop_name</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_forall ()">
<a name="gtk-container-forall"></a><h3>gtk_container_forall ()</h3>
<pre class="programlisting">void gtk_container_forall (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()">GtkCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
<p>
Invokes <em class="parameter"><code>callback</code></em> on each child of <em class="parameter"><code>container</code></em>, including children
that are considered "internal" (implementation details of the
container). "Internal" children generally weren't added by the user
of the container, but were added by the container implementation
itself. Most applications should use <a class="link" href="GtkContainer.html#gtk-container-foreach" title="gtk_container_foreach ()"><code class="function">gtk_container_foreach()</code></a>,
rather than <a class="link" href="GtkContainer.html#gtk-container-forall" title="gtk_container_forall ()"><code class="function">gtk_container_forall()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
<td> callback user data
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_get_border_width ()">
<a name="gtk-container-get-border-width"></a><h3>gtk_container_get_border_width ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> gtk_container_get_border_width (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Retrieves the border width of the container. See
<a class="link" href="GtkContainer.html#gtk-container-set-border-width" title="gtk_container_set_border_width ()"><code class="function">gtk_container_set_border_width()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the current border width
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_set_border_width ()">
<a name="gtk-container-set-border-width"></a><h3>gtk_container_set_border_width ()</h3>
<pre class="programlisting">void gtk_container_set_border_width (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> border_width);</pre>
<p>
Sets the border width of the container.
</p>
<p>
The border width of a container is the amount of space to leave
around the outside of the container. The only exception to this is
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>; because toplevel windows can't leave space outside,
they leave the space inside. The border is added on all sides of
the container. To add space to only one side, one approach is to
create a <a class="link" href="GtkAlignment.html" title="GtkAlignment"><span class="type">GtkAlignment</span></a> widget, call <a class="link" href="GtkWidget.html#gtk-widget-set-size-request" title="gtk_widget_set_size_request ()"><code class="function">gtk_widget_set_size_request()</code></a>
to give it a size, and place it on the side of the container as
a spacer.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>border_width</code></em> :</span></p></td>
<td> amount of blank space to leave <span class="emphasis"><em>outside</em></span>
the container. Valid values are in the range 0-65535 pixels.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_propagate_expose ()">
<a name="gtk-container-propagate-expose"></a><h3>gtk_container_propagate_expose ()</h3>
<pre class="programlisting">void gtk_container_propagate_expose (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
<a
href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEventExpose"
>GdkEventExpose</a> *event);</pre>
<p>
When a container receives an expose event, it must send synthetic
expose events to all children that don't have their own <span class="type">GdkWindows</span>.
This function provides a convenient way of doing this. A container,
when it receives an expose event, calls <a class="link" href="GtkContainer.html#gtk-container-propagate-expose" title="gtk_container_propagate_expose ()"><code class="function">gtk_container_propagate_expose()</code></a>
once for each child, passing in the event the container received.
</p>
<p>
<a class="link" href="GtkContainer.html#gtk-container-propagate-expose" title="gtk_container_propagate_expose ()"><code class="function">gtk_container_propagate_expose()</code></a> takes care of deciding whether
an expose event needs to be sent to the child, intersecting
the event's area with the child area, and sending the event.
</p>
<p>
In most cases, a container can simply either simply inherit the
<span class="type">"expose"</span> implementation from <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>, or, do some drawing
and then chain to the ::expose implementation from <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td> a child of <em class="parameter"><code>container</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
<td> a expose event sent to container
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_get_focus_chain ()">
<a name="gtk-container-get-focus-chain"></a><h3>gtk_container_get_focus_chain ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_container_get_focus_chain (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> **focusable_widgets);</pre>
<p>
Retrieves the focus chain of the container, if one has been
set explicitly. If no focus chain has been explicitly
set, GTK+ computes the focus chain based on the positions
of the children. In that case, GTK+ stores <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> in
<em class="parameter"><code>focusable_widgets</code></em> and returns <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>focusable_widgets</code></em> :</span></p></td>
<td> location to store the focus chain of the
container, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>. You should free this list
using <a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"
><code class="function">g_list_free()</code></a> when you are done with it, however
no additional reference count is added to the
individual widgets in the focus chain.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the focus chain of the container
has been set explicitly.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_set_focus_chain ()">
<a name="gtk-container-set-focus-chain"></a><h3>gtk_container_set_focus_chain ()</h3>
<pre class="programlisting">void gtk_container_set_focus_chain (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *focusable_widgets);</pre>
<p>
Sets a focus chain, overriding the one computed automatically by GTK+.
</p>
<p>
In principle each widget in the chain should be a descendant of the
container, but this is not enforced by this method, since it's allowed
to set the focus chain before you pack the widgets, or have a widget
in the chain that isn't always packed. The necessary checks are done
when the focus chain is actually traversed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>focusable_widgets</code></em> :</span></p></td>
<td> the new focus chain
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_unset_focus_chain ()">
<a name="gtk-container-unset-focus-chain"></a><h3>gtk_container_unset_focus_chain ()</h3>
<pre class="programlisting">void gtk_container_unset_focus_chain (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container);</pre>
<p>
Removes a focus chain explicitly set with <a class="link" href="GtkContainer.html#gtk-container-set-focus-chain" title="gtk_container_set_focus_chain ()"><code class="function">gtk_container_set_focus_chain()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td> a <a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_class_find_child_property ()">
<a name="gtk-container-class-find-child-property"></a><h3>gtk_container_class_find_child_property ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>* gtk_container_class_find_child_property
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"
>GObjectClass</a> *cclass,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name);</pre>
<p>
Finds a child property of a container class by name.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cclass</code></em> :</span></p></td>
<td> a <span class="type">GtkContainerClass</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
<td> the name of the child property to find
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> of the child property or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>class</code></em> has no
child property with that name.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_class_install_child_property ()">
<a name="gtk-container-class-install-child-property"></a><h3>gtk_container_class_install_child_property ()</h3>
<pre class="programlisting">void gtk_container_class_install_child_property
(GtkContainerClass *cclass,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> property_id,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec);</pre>
<p>
Installs a child property on a container class.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cclass</code></em> :</span></p></td>
<td> a <span class="type">GtkContainerClass</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
<td> the id for the property
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a> for the property
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_container_class_list_child_properties ()">
<a name="gtk-container-class-list-child-properties"></a><h3>gtk_container_class_list_child_properties ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a>** gtk_container_class_list_child_properties
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"
>GObjectClass</a> *cclass,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> *n_properties);</pre>
<p>
Returns all child properties of a container class.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cclass</code></em> :</span></p></td>
<td> a <span class="type">GtkContainerClass</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td>
<td> location to return the number of child properties found
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a>-terminated array of <a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a>*.
The array must be freed with <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="GtkContainer.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "border-width" property'>
<a name="GtkContainer--border-width"></a><h3>The <code class="literal">"border-width"</code> property</h3>
<pre class="programlisting"> "border-width" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a> : Read / Write</pre>
<p>The width of the empty border outside the containers children.</p>
<p>Allowed values: <= G_MAXINT</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "child" property'>
<a name="GtkContainer--child"></a><h3>The <code class="literal">"child"</code> property</h3>
<pre class="programlisting"> "child" <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* : Write</pre>
<p>Can be used to add a new child to the container.</p>
</div>
<hr>
<div class="refsect2" title='The "resize-mode" property'>
<a name="GtkContainer--resize-mode"></a><h3>The <code class="literal">"resize-mode"</code> property</h3>
<pre class="programlisting"> "resize-mode" <a class="link" href="gtk-Standard-Enumerations.html#GtkResizeMode" title="enum GtkResizeMode">GtkResizeMode</a> : Read / Write</pre>
<p>Specify how resize events are handled.</p>
<p>Default value: GTK_RESIZE_PARENT</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="GtkContainer.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "add" signal'>
<a name="GtkContainer-add"></a><h3>The <code class="literal">"add"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "check-resize" signal'>
<a name="GtkContainer-check-resize"></a><h3>The <code class="literal">"check-resize"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "remove" signal'>
<a name="GtkContainer-remove"></a><h3>The <code class="literal">"remove"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "set-focus-child" signal'>
<a name="GtkContainer-set-focus-child"></a><h3>The <code class="literal">"set-focus-child"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> *container,
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>