GtkPaned

GtkPaned

Base class for widgets with two adjustable panes.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkPaned

Direct subclasses

Description

GtkPaned provides methods and properties for container widgets with two panes whose relative size can be adjusted by the end user. The panes are arranged horizontally in GtkHPaned or vertically in GtkVPaned, and are divided by a handle. By default, the initial position of the handle is set in accordance with the size requests of the child widgets.

Note that the panes are defined through their child widgets, i.e. they have an initial size of zero.

GtkPaned is an abstract base class and cannot be constructed directly.

Methods

add1()
  Adds child to first pane.
add2()
  Adds child to second pane.
pack1()
  Adds child to first pane, with options.
pack2()
  Adds child to second pane, with options.
set_position()
  Sets position of dividing handle.
set_handle_size()
  Sets handle size. *deprecated in GTK2*
set_gutter_size()
  Sets gutter size. *deprecated in GTK2*

Properties

child1:
  Child widget in first pane.
child2:
  Child widget in second pane.
handle_size:
  Size of separating handle. *deprecated in GTK2*
gutter_size:
  Size of separating gutter. *deprecated in GTK2*
child1_resize:
  Status of first child's resize setting.
child1_shrink:
  Status of first child's shrink setting.
child2_resize:
  Status of second child's resize setting.
child2_shrink:
  Status of second child's shrink setting.

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