#include <app.h>

Public Member Functions | |
| virtual | ~App () |
| GnomeApp * | gobj () |
| Provides access to the underlying C GtkObject. | |
| const GnomeApp * | gobj () const |
| Provides access to the underlying C GtkObject. | |
| App (const Glib::ustring &name) | |
| App (const Glib::ustring &appname, const Glib::ustring &title) | |
| Create an application. | |
| void | set_menus (Gtk::MenuBar &menubar) |
| Set the menubar on the top. | |
| void | set_toolbar (Gtk::Toolbar &toolbar) |
| Set the toolbar on the bottom. | |
| void | set_statusbar (Gtk::Widget &statusbar) |
| void | set_statusbar_custom (Gtk::Container &container, Gtk::Widget &statusbar) |
| Sets the status bar with container. | |
| void | set_contents (Gtk::Widget &contents) |
| Set the contents in the middle. | |
| void | add_toolbar (Gtk::Toolbar &toolbar, const Glib::ustring &name, BonoboDockItemBehavior behavior, BonoboDockPlacement placement, int band_num, int band_position, int offset) |
| Gtk::Widget * | add_docked (Gtk::Widget &widget, const Glib::ustring &name, BonoboDockItemBehavior behavior, BonoboDockPlacement placement, int band_num, int band_position, int offset) |
| void | add_dock_item (BonoboDockItem *item, BonoboDockPlacement placement, int band_num, int band_position, int offset) |
| void | enable_layout_config (gboolean enable) |
| BonoboDock * | get_dock () |
| BonoboDockItem * | get_dock_item_by_name (const Glib::ustring &name) |
| Items::Array< Items::SubTree > & | create_menus (const Items::Array< Items::SubTree > &info) |
| Create menus from UI. | |
| Items::Array< Items::Info > & | insert_menus (const Glib::ustring &path, const Items::Array< Items::Info > &menuinfo) |
| Insert menu items at the specified path (e.g. | |
| void | remove_menus (const Glib::ustring &path, int items) |
| void | remove_menu_range (const Glib::ustring &path, int start, int items) |
| void | install_menu_hints () |
| Adds hints to status bar. | |
| Items::Array< Items::Info > & | create_toolbar (const Items::Array< Items::Info > &info) |
| Create toolbar from UI. | |
Related Functions | |
(Note that these are not member functions.) | |
| Gnome::UI::App * | wrap (GnomeApp *object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
| virtual Gnome::UI::App::~App | ( | ) | [virtual] |
| Gnome::UI::App::App | ( | const Glib::ustring & | name | ) |
| Gnome::UI::App::App | ( | const Glib::ustring & | appname, | |
| const Glib::ustring & | title | |||
| ) |
Create an application.
appname is used to save preferences. title is for the App window.
| void Gnome::UI::App::add_dock_item | ( | BonoboDockItem * | item, | |
| BonoboDockPlacement | placement, | |||
| int | band_num, | |||
| int | band_position, | |||
| int | offset | |||
| ) |
| Gtk::Widget* Gnome::UI::App::add_docked | ( | Gtk::Widget & | widget, | |
| const Glib::ustring & | name, | |||
| BonoboDockItemBehavior | behavior, | |||
| BonoboDockPlacement | placement, | |||
| int | band_num, | |||
| int | band_position, | |||
| int | offset | |||
| ) |
| void Gnome::UI::App::add_toolbar | ( | Gtk::Toolbar & | toolbar, | |
| const Glib::ustring & | name, | |||
| BonoboDockItemBehavior | behavior, | |||
| BonoboDockPlacement | placement, | |||
| int | band_num, | |||
| int | band_position, | |||
| int | offset | |||
| ) |
| Items::Array<Items::SubTree>& Gnome::UI::App::create_menus | ( | const Items::Array< Items::SubTree > & | info | ) |
Create menus from UI.
| Items::Array<Items::Info>& Gnome::UI::App::create_toolbar | ( | const Items::Array< Items::Info > & | info | ) |
Create toolbar from UI.
| void Gnome::UI::App::enable_layout_config | ( | gboolean | enable | ) |
| BonoboDock* Gnome::UI::App::get_dock | ( | ) |
| BonoboDockItem* Gnome::UI::App::get_dock_item_by_name | ( | const Glib::ustring & | name | ) |
| const GnomeApp* Gnome::UI::App::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
| GnomeApp* Gnome::UI::App::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
| Items::Array<Items::Info>& Gnome::UI::App::insert_menus | ( | const Glib::ustring & | path, | |
| const Items::Array< Items::Info > & | menuinfo | |||
| ) |
Insert menu items at the specified path (e.g.
"File/Open" or "File/Open Recent/"). This allocates some memory that will only be release when the app is destroyed, even if you call remove_menus() or remove_menu_range().
| void Gnome::UI::App::install_menu_hints | ( | ) |
Adds hints to status bar.
must be called if create_menus is used after status bar is established.
| void Gnome::UI::App::remove_menu_range | ( | const Glib::ustring & | path, | |
| int | start, | |||
| int | items | |||
| ) |
| void Gnome::UI::App::remove_menus | ( | const Glib::ustring & | path, | |
| int | items | |||
| ) |
| void Gnome::UI::App::set_contents | ( | Gtk::Widget & | contents | ) |
Set the contents in the middle.
| void Gnome::UI::App::set_menus | ( | Gtk::MenuBar & | menubar | ) |
Set the menubar on the top.
| void Gnome::UI::App::set_statusbar | ( | Gtk::Widget & | statusbar | ) |
| void Gnome::UI::App::set_statusbar_custom | ( | Gtk::Container & | container, | |
| Gtk::Widget & | statusbar | |||
| ) |
Sets the status bar with container.
uses the given container widget rather than creating a new one.
| void Gnome::UI::App::set_toolbar | ( | Gtk::Toolbar & | toolbar | ) |
Set the toolbar on the bottom.
| Gnome::UI::App * wrap | ( | GnomeApp * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
A Glib::wrap() method for this object.
| object | The C instance. | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.6.2