Gnome2::Bonobo::Dock(3pm)

Gnome2::Bonobo::Dock3pm

Wrapper for bonobodock

Hierarchy

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gnome2::Bonobo::Dock

Interfaces

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

Methods

widget = Gnome2::Bonobo::Dock->new

$dock->add_floating_item ($widget, $x, $y, $orientation)

•

$widget (Gnome2::Bonobo::DockItem)

•

$x (integer)

•

$y (integer)

•

$orientation (Gtk2::Orientation)

boolean = $dock->add_from_layout ($layout)

•

$layout (Gnome2::Bonobo::DockLayout)

$dock->add_item ($item, $placement, $band_num, $position, $offset, $in_new_band)

•

$item (Gnome2::Bonobo::DockItem)

•

$placement (Gnome2::Bonobo::DockPlacement)

•

$band_num (integer)

•

$position (integer)

•

$offset (integer)

•

$in_new_band (boolean)

$dock->allow_floating_items ($enable)

•

$enable (boolean)

widget = $dock->get_client_area

$dock->set_client_area ($widget)

•

$widget (Gtk2::Widget)

list = $dock->get_item_by_name ($name)

•

$name (string)

Returns a BonoboDockItem, a BonoboDockPlacement and three unsigned integers corresponding to num_band, band_position and offset.

docklayout = $dock->get_layout

Signals

layout-changed (Gnome2::Bonobo::Dock)

Enums and flags

enum Gnome2::Bonobo::DockPlacement

•

'top' / 'BONOBO_DOCK_TOP'

•

'right' / 'BONOBO_DOCK_RIGHT'

•

'bottom' / 'BONOBO_DOCK_BOTTOM'

•

'left' / 'BONOBO_DOCK_LEFT'

•

'floating' / 'BONOBO_DOCK_FLOATING'

enum Gtk2::Orientation

•

'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'

•

'vertical' / 'GTK_ORIENTATION_VERTICAL'

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9

From libgnome2-perl 1.046-3+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.