PHP-GTK Manual
This manual is provided as a courtesy. It is not an official source. Please check gtk.php.net for updated information.
Base class for all container widgets.
GtkObject `-- GtkWidget `-- GtkContainer
GtkBin, GtkBox, GtkCList, GtkFixed, GtkLayout, GtkList, GtkMenuShell, GtkNotebook, GtkPacker, GtkPaned, GtkSocket, GtkTable, GtkToolbar, GtkTree, GtkSheet, GtkSQPane
GtkContainer is an abstract base class providing all widgets derived from it with the ability to contain child widgets. It also endows those child widgets with a resizing mechanism.
GtkContainer is an abstract base class providing all widgets derived from it with the ability to contain child widgets.
It also endows those child widgets with a resizing mechanism.
set_border_width() Sets border width. add() Adds child widget to container. remove() Removes child widget from container. set_resize_mode() Sets priority of resize requests. check_resize() Emits check_resize signal. children() Returns array of container's child widgets. focus() Queues child focus in a given direction. set_reallocate_redraws() Toggles whether redraws are necessary. set_focus_child() Sets initial child focus. set_focus_vadjustment() Sets focus on a vertical GtkAdjustment. set_focus_hadjustment() Sets focus on a horizontal GtkAdjustment. register_toplevel() Registers container as toplevel. unregister_toplevel() Unregisters a toplevel container. resize_children() Resizes child widgets. child_type() Describes expected child type.
"add" Emitted when the add() method is called. "remove" Emitted when the remove() method is called. "check-resize" Emitted when the check_resize() method is called. "focus" Emitted when the focus() method is called. "set-focus-child" Emitted when the set_focus_child() method is called.