Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Gnome::UI::App Class Reference

#include <app.h>

Inheritance diagram for Gnome::UI::App:

Gtk::Window Gtk::Bin Gtk::Container Gtk::Widget Gtk::Object Glib::Object Glib::ObjectBase SigC::Object List of all members.

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::Widgetadd_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::Appwrap (GnomeApp *object, bool take_copy=false)

Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Reimplemented from Gtk::Window.

GnomeApp* Gnome::UI::App::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Window.

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.


Friends And Related Function Documentation

Gnome::UI::App * wrap GnomeApp *  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated on Sun Sep 11 19:04:59 2005 for libgnomeuimm by  doxygen 1.4.4