GtkContainer

GtkContainer

Base class for all container widgets.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer

Direct subclasses

Description

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.

Methods

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.

Signals

"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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.