Gnome2::Bonobo::Dock(3pm) User Contributed Perl Documentation Gnome2::Bonobo::Dock(3pm)
NAME
Gnome2::Bonobo::Dock - 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)
o $widget (Gnome2::Bonobo::DockItem)
o $x (integer)
o $y (integer)
o $orientation (Gtk2::Orientation)
boolean = $dock->add_from_layout ($layout)
o $layout (Gnome2::Bonobo::DockLayout)
$dock->add_item ($item, $placement, $band_num, $position, $offset, $in_new_band)
o $item (Gnome2::Bonobo::DockItem)
o $placement (Gnome2::Bonobo::DockPlacement)
o $band_num (integer)
o $position (integer)
o $offset (integer)
o $in_new_band (boolean)
$dock->allow_floating_items ($enable)
o $enable (boolean)
widget = $dock->get_client_area
$dock->set_client_area ($widget)
o $widget (Gtk2::Widget)
list = $dock->get_item_by_name ($name)
o $name (string)
Returns a BonoboDockItem, a BonoboDockPlacement and three unsigned integers correspoding to num_band, band_position and offset.
docklayout = $dock->get_layout
SIGNALS
layout-changed (Gnome2::Bonobo::Dock)
ENUMS AND FLAGS
enum Gnome2::Bonobo::DockPlacement
o 'top' / 'BONOBO_DOCK_TOP'
o 'right' / 'BONOBO_DOCK_RIGHT'
o 'bottom' / 'BONOBO_DOCK_BOTTOM'
o 'left' / 'BONOBO_DOCK_LEFT'
o 'floating' / 'BONOBO_DOCK_FLOATING'
enum Gtk2::Orientation
o 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
o 'vertical' / 'GTK_ORIENTATION_VERTICAL'
SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
perl v5.14.2 2011-11-16 Gnome2::Bonobo::Dock(3pm)