1Gnome2::App(3)        User Contributed Perl Documentation       Gnome2::App(3)
2
3
4

NAME

6       Gnome2::App - wrapper for GnomeApp
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Window
16                                       +----Gnome2::App
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21

METHODS

23   widget = Gnome2::App->new ($appname, $title=undef)
24       •   $appname (string)
25
26       •   $title (string)
27
28   scalar = $app->accel_group
29   $app->add_dock_item ($item, $placement, $band_num, $band_position, $offset)
30       •   $item (Gnome2::Bonobo::DockItem)
31
32       •   $placement (Gnome2::Bonobo::DockPlacement)
33
34       •   $band_num (integer)
35
36       •   $band_position (integer)
37
38       •   $offset (integer)
39
40   widget = $app->add_docked ($widget, $name, $behavior, $placement,
41       $band_num, $band_position, $offset)
42       •   $widget (Gtk2::Widget)
43
44       •   $name (string)
45
46       •   $behavior (Gnome2::Bonobo::DockItemBehavior)
47
48       •   $placement (Gnome2::Bonobo::DockPlacement)
49
50       •   $band_num (integer)
51
52       •   $band_position (integer)
53
54       •   $offset (integer)
55
56   $app->add_toolbar ($toolbar, $name, $behavior, $placement, $band_num,
57       $band_position, $offset)
58       •   $toolbar (Gtk2::Toolbar)
59
60       •   $name (string)
61
62       •   $behavior (Gnome2::Bonobo::DockItemBehavior)
63
64       •   $placement (Gnome2::Bonobo::DockPlacement)
65
66       •   $band_num (integer)
67
68       •   $band_position (integer)
69
70       •   $offset (integer)
71
72   scalar = $app->contents
73   $app->set_contents ($contents)
74       •   $contents (Gtk2::Widget)
75
76   $app->create_menus ($uiinfo)
77       •   $uiinfo (Gnome2::UIInfo)
78
79   $app->create_toolbar ($uiinfo)
80       •   $uiinfo (Gnome2::UIInfo)
81
82   scalar = $app->dock
83   dock = $app->get_dock
84   dockitem = $app->get_dock_item_by_name ($name)
85       •   $name (string)
86
87   $app->enable_layout_config ($enable)
88       •   $enable (boolean)
89
90   scalar = $app->get_enable_layout_config
91   $app->insert_menus ($path, $menuinfo)
92       •   $path (string)
93
94       •   $menuinfo (Gnome2::UIInfo)
95
96   $app->install_menu_hints ($uiinfo)
97       •   $uiinfo (Gnome2::UIInfo)
98
99   scalar = $app->layout
100   scalar = $app->menubar
101   $app->set_menus ($menubar)
102       •   $menubar (Gtk2::MenuBar)
103
104   scalar = $app->prefix
105   $app->remove_menu_range ($path, $start, $items)
106       •   $path (string)
107
108       •   $start (integer)
109
110       •   $items (integer)
111
112   $app->remove_menus ($path, $items)
113       •   $path (string)
114
115       •   $items (integer)
116
117   Gnome2::App->setup_toolbar ($toolbar, $dock_item)
118       •   $toolbar (Gtk2::Toolbar)
119
120       •   $dock_item (Gnome2::Bonobo::DockItem)
121
122   scalar = $app->statusbar
123   $app->set_statusbar_custom ($container, $statusbar)
124       •   $container (Gtk2::Widget)
125
126       •   $statusbar (Gtk2::Widget)
127
128   $app->set_statusbar ($statusbar)
129       •   $statusbar (Gtk2::Widget)
130
131   $app->set_toolbar ($toolbar)
132       •   $toolbar (Gtk2::Toolbar)
133
134   scalar = $app->vbox

PROPERTIES

136       'app-id' (string : default undef : readable / writable / construct)
137           The application ID string
138

ENUMS AND FLAGS

140   flags Gnome2::Bonobo::DockItemBehavior
141       •   'normal' / 'BONOBO_DOCK_ITEM_BEH_NORMAL'
142
143       •   'exclusive' / 'BONOBO_DOCK_ITEM_BEH_EXCLUSIVE'
144
145       •   'never-floating' / 'BONOBO_DOCK_ITEM_BEH_NEVER_FLOATING'
146
147       •   'never-vertical' / 'BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL'
148
149       •   'never-horizontal' / 'BONOBO_DOCK_ITEM_BEH_NEVER_HORIZONTAL'
150
151       •   'locked' / 'BONOBO_DOCK_ITEM_BEH_LOCKED'
152
153   enum Gnome2::Bonobo::DockPlacement
154       •   'top' / 'BONOBO_DOCK_TOP'
155
156       •   'right' / 'BONOBO_DOCK_RIGHT'
157
158       •   'bottom' / 'BONOBO_DOCK_BOTTOM'
159
160       •   'left' / 'BONOBO_DOCK_LEFT'
161
162       •   'floating' / 'BONOBO_DOCK_FLOATING'
163

SEE ALSO

165       Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
166       Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window
167
169       Copyright (C) 2003-2004 by the gtk2-perl team.
170
171       This software is licensed under the LGPL.  See Gnome2 for a full
172       notice.
173
174
175
176perl v5.32.1                      2021-01-27                    Gnome2::App(3)
Impressum