Gnome2::App3pm
Wrapper for gnomeapp
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Bin+----Gtk2::Window+----Gnome2::App
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::Buildable
Methods
widget = Gnome2::App->new ($appname, $title=undef)
•
|
|
|---|---|
•
|
|
scalar = $app->accel_group
$app->add_dock_item ($item, $placement, $band_num, $band_position, $offset)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
widget = $app->add_docked ($widget, $name, $behavior, $placement, $band_num, $band_position, $offset)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
$app->add_toolbar ($toolbar, $name, $behavior, $placement, $band_num, $band_position, $offset)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
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)
•
|
|
|---|---|
•
|
|
$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)
•
|
|
|---|---|
•
|
|
•
|
|
$app->remove_menus ($path, $items)
•
|
|
|---|---|
•
|
|
Gnome2::App->setup_toolbar ($toolbar, $dock_item)
•
|
|
|---|---|
•
|
|
scalar = $app->statusbar
$app->set_statusbar_custom ($container, $statusbar)
•
|
|
|---|---|
•
|
|
$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' |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.