HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Window +----Gnome2::App
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable
METHODS
widget = Gnome2::App->new ($appname, $title=undef)
- $appname (string)
- $title (string)
scalar = $app->accel_group
$app->add_dock_item ($item, $placement, $band_num, $band_position, $offset)
- $item (Gnome2::Bonobo::DockItem)
- $placement (Gnome2::Bonobo::DockPlacement)
- $band_num (integer)
- $band_position (integer)
- $offset (integer)
widget = $app->add_docked ($widget, $name, $behavior, $placement, $band_num, $band_position, $offset)
- $widget (Gtk2::Widget)
- $name (string)
- $behavior (Gnome2::Bonobo::DockItemBehavior)
- $placement (Gnome2::Bonobo::DockPlacement)
- $band_num (integer)
- $band_position (integer)
- $offset (integer)
$app->add_toolbar ($toolbar, $name, $behavior, $placement, $band_num, $band_position, $offset)
- $toolbar (Gtk2::Toolbar)
- $name (string)
- $behavior (Gnome2::Bonobo::DockItemBehavior)
- $placement (Gnome2::Bonobo::DockPlacement)
- $band_num (integer)
- $band_position (integer)
- $offset (integer)
scalar = $app->contents
$app->set_contents ($contents)
- $contents (Gtk2::Widget)
$app->create_menus ($uiinfo)
- $uiinfo (Gnome2::UIInfo)
$app->create_toolbar ($uiinfo)
- $uiinfo (Gnome2::UIInfo)
scalar = $app->dock
dock = $app->get_dock
dockitem = $app->get_dock_item_by_name ($name)
- $name (string)
$app->enable_layout_config ($enable)
- $enable (boolean)
scalar = $app->get_enable_layout_config
$app->insert_menus ($path, $menuinfo)
- $path (string)
- $menuinfo (Gnome2::UIInfo)
$app->install_menu_hints ($uiinfo)
- $uiinfo (Gnome2::UIInfo)
scalar = $app->layout
scalar = $app->menubar
$app->set_menus ($menubar)
- $menubar (Gtk2::MenuBar)
scalar = $app->prefix
$app->remove_menu_range ($path, $start, $items)
- $path (string)
- $start (integer)
- $items (integer)
$app->remove_menus ($path, $items)
- $path (string)
- $items (integer)
Gnome2::App->setup_toolbar ($toolbar, $dock_item)
- $toolbar (Gtk2::Toolbar)
- $dock_item (Gnome2::Bonobo::DockItem)
scalar = $app->statusbar
$app->set_statusbar_custom ($container, $statusbar)
- $container (Gtk2::Widget)
- $statusbar (Gtk2::Widget)
$app->set_statusbar ($statusbar)
- $statusbar (Gtk2::Widget)
$app->set_toolbar ($toolbar)
- $toolbar (Gtk2::Toolbar)
scalar = $app->vbox
PROPERTIES
- 'app-id' (string : default undef : readable / writable / construct)
- The application ID string
ENUMS AND FLAGS
flags Gnome2::Bonobo::DockItemBehavior
- 'normal' / 'BONOBO_DOCK_ITEM_BEH_NORMAL'
- 'exclusive' / 'BONOBO_DOCK_ITEM_BEH_EXCLUSIVE'
- 'never-floating' / 'BONOBO_DOCK_ITEM_BEH_NEVER_FLOATING'
- 'never-vertical' / 'BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL'
- 'never-horizontal' / 'BONOBO_DOCK_ITEM_BEH_NEVER_HORIZONTAL'
- 'locked' / 'BONOBO_DOCK_ITEM_BEH_LOCKED'
enum Gnome2::Bonobo::DockPlacement
- 'top' / 'BONOBO_DOCK_TOP'
- 'right' / 'BONOBO_DOCK_RIGHT'
- 'bottom' / 'BONOBO_DOCK_BOTTOM'
- 'left' / 'BONOBO_DOCK_LEFT'
- 'floating' / 'BONOBO_DOCK_FLOATING'
COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.This software is licensed under the LGPL. See Gnome2 for a full notice.