Class Index | Cross Index | Namespace Index |
Contained in: Gnome
Derived from:
Gtk::Window
Derived by:
none
#include <gtk--/app.h>
public function member index: |
||
App | (const Gtk::string& name); | |
App | (const Gtk::string& appname, const Gtk::string& title); | |
void | add_dock_item | (DockItem& item, GnomeDockPlacement placement, gint band_num, gint band_position, gint offset); |
void | add_docked | (Gtk::Widget& widget, const Gtk::string& name, GnomeDockItemBehavior behavior, GnomeDockPlacement placement, gint band_num, gint band_position, gint offset); |
void | add_toolbar | (Gtk::Toolbar& toolbar, const Gtk::string& name, GnomeDockItemBehavior behavior, GnomeDockPlacement placement, gint band_num, gint band_position, gint offset); |
UI::Array<SubTree>& | create_menus | (const UI::Array<SubTree>& info); |
UI::Array<Info>& | create_toolbar | (const UI::Array<Info>& info); |
void | enable_layout_config | (gboolean enable); |
Dialog* | error | (const Gtk::string& msg); |
void | flash | (const Gtk::string& msg); |
Dock* | get_dock | (); |
DockItem* | get_dock_item_by_name | (const Gtk::string& name); |
static GtkType | get_type | (); |
GnomeApp* | gtkobj | (); |
const GnomeApp* | gtkobj | () const; |
UI::Array<Info>& | insert_menus | (const Gtk::string& path, const UI::Array<Info>& menuinfo); |
void | install_menu_hints | (); |
static bool | isA | (Gtk::Object* checkcast); |
Dialog* | message | (const Gtk::string& msg); |
Dialog* | ok_cancel | (const Gtk::string& msg, ReplyCallback cb = 0); |
Dialog* | ok_cancel_modal | (const Gtk::string& msg, ReplyCallback cb = 0); |
Progress | progress | (const Gtk::string& description, Progress::Cancel cancel=0); |
Progress | progress | (const Gtk::string& description, guint32 interval, Progress::Update percent, Progress::Cancel cancel=0); |
Dialog* | question | (const Gtk::string& message, ReplyCallback cb = 0); |
Dialog* | question_modal | (const Gtk::string& msg, ReplyCallback cb = 0); |
void | remove_menu_range | (const Gtk::string& path, gint start, gint items); |
void | remove_menus | (const Gtk::string& path, gint items); |
Dialog* | request_password | (const Gtk::string& prompt, StringCallback cb = 0); |
Dialog* | request_string | (const Gtk::string& prompt, StringCallback cb = 0); |
void | set_contents | (Gtk::Widget& contents); |
void | set_menus | (Gtk::MenuBar& menubar); |
void | set_statusbar | (Gtk::Widget& statusbar); |
void | set_statusbar_custom | (Gtk::Container& container, Gtk::Widget& statusbar); |
void | set_toolbar | (Gtk::Toolbar& toolbar); |
Dialog* | warning | (const Gtk::string& msg); |
virtual | ~App | (); |
protected function member index: |
||
explicit | App | (GnomeApp* castitem); |
void | initialize_class | (); |
private function member index: |
||
App | (const App&); | |
void | add | (Gtk::Widget&); |
App& | operator = | (const App&); |
appname is used to save preferences. title is for the App window.
Because a App is a compound widget, you would only use the set_content() function.
If there isn't a status bar do nothing. Intended for trivial messages.
This allocates some memory that will only be release when the app is destroyed, even if you call remove_menus() or remove_menu_range().
must be called if create_menus is used after status bar is established.
uses the given container widget rather than creating a new one.