1Gnome2::Bonobo::Dock(3)User Contributed Perl DocumentatioGnnome2::Bonobo::Dock(3)
2
3
4

NAME

6       Gnome2::Bonobo::Dock - wrapper for BonoboDock
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gnome2::Bonobo::Dock
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18         Gtk2::Buildable
19

METHODS

21   widget = Gnome2::Bonobo::Dock->new
22   $dock->add_floating_item ($widget, $x, $y, $orientation)
23       ·   $widget (Gnome2::Bonobo::DockItem)
24
25       ·   $x (integer)
26
27       ·   $y (integer)
28
29       ·   $orientation (Gtk2::Orientation)
30
31   boolean = $dock->add_from_layout ($layout)
32       ·   $layout (Gnome2::Bonobo::DockLayout)
33
34   $dock->add_item ($item, $placement, $band_num, $position, $offset,
35       $in_new_band)
36       ·   $item (Gnome2::Bonobo::DockItem)
37
38       ·   $placement (Gnome2::Bonobo::DockPlacement)
39
40       ·   $band_num (integer)
41
42       ·   $position (integer)
43
44       ·   $offset (integer)
45
46       ·   $in_new_band (boolean)
47
48   $dock->allow_floating_items ($enable)
49       ·   $enable (boolean)
50
51   widget = $dock->get_client_area
52   $dock->set_client_area ($widget)
53       ·   $widget (Gtk2::Widget)
54
55   list = $dock->get_item_by_name ($name)
56       ·   $name (string)
57
58       Returns a BonoboDockItem, a BonoboDockPlacement and three unsigned
59       integers corresponding to num_band, band_position and offset.
60
61   docklayout = $dock->get_layout

SIGNALS

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

ENUMS AND FLAGS

66   enum Gnome2::Bonobo::DockPlacement
67       ·   'top' / 'BONOBO_DOCK_TOP'
68
69       ·   'right' / 'BONOBO_DOCK_RIGHT'
70
71       ·   'bottom' / 'BONOBO_DOCK_BOTTOM'
72
73       ·   'left' / 'BONOBO_DOCK_LEFT'
74
75       ·   'floating' / 'BONOBO_DOCK_FLOATING'
76
77   enum Gtk2::Orientation
78       ·   'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
79
80       ·   'vertical' / 'GTK_ORIENTATION_VERTICAL'
81

SEE ALSO

83       Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
84       Gtk2::Widget, Gtk2::Container
85
87       Copyright (C) 2003-2004 by the gtk2-perl team.
88
89       This software is licensed under the LGPL.  See Gnome2 for a full
90       notice.
91
92
93
94perl v5.30.1                      2020-01-30           Gnome2::Bonobo::Dock(3)
Impressum