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

Bakery::App_Gtk Class Reference

This class implements Bakery::App using gtkmm. More...

#include <App_Gtk.h>

Inheritance diagram for Bakery::App_Gtk:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 App_Gtk (const Glib::ustring &appname)
 Don't forget to call init() too.
 App_Gtk (BaseObjectType *cobject, const Glib::ustring &appname)
 This constructor can be used to implement derived classes for use with Gnome::Glade::Xml::get_derived_widget().
virtual ~App_Gtk ()
virtual void add (Gtk::Widget &child)
 Overidden to add a widget in the middle, under the menu, instead of replacing the whole contents.

Protected Member Functions

virtual void init ()
virtual void init_ui_manager ()
 Builds the intial ui string, with placeholders.
virtual void init_menus ()
 Override this to add more menus or different menus.
virtual void init_menus_file ()
 Call this from init_menus() to add the standard file menu.
virtual void init_menus_edit ()
 Call this from init_menus() to add the standard edit menu.
virtual void init_menus_help ()
 Call this from init_menus() to add the standard help menu.
virtual void init_toolbars ()
virtual void init_layout ()
virtual void add_ui_from_string (const Glib::ustring &ui_description)
virtual void on_hide ()
virtual void on_menu_help_about ()
virtual void on_about_close ()
virtual void ui_hide ()
virtual void ui_bring_to_front ()
virtual bool on_delete_event (GdkEventAny *event)

Protected Attributes

Glib::RefPtr< Gtk::UIManagerm_refUIManager
Glib::RefPtr< Gtk::ActionGroupm_refFileActionGroup
Glib::RefPtr< Gtk::ActionGroupm_refEditActionGroup
Glib::RefPtr< Gtk::ActionGroupm_refHelpActionGroup
Gtk::VBoxm_pVBox
Gtk::VBox m_VBox_PlaceHolder
Gtk::HandleBox m_HandleBox_Toolbar

Static Protected Attributes

Gtk::Windowm_pAbout

Friends

class AppInstanceManager

Detailed Description

This class implements Bakery::App using gtkmm.

Features:


Constructor & Destructor Documentation

Bakery::App_Gtk::App_Gtk const Glib::ustring appname  ) 
 

Don't forget to call init() too.

Bakery::App_Gtk::App_Gtk BaseObjectType *  cobject,
const Glib::ustring appname
 

This constructor can be used to implement derived classes for use with Gnome::Glade::Xml::get_derived_widget().

virtual Bakery::App_Gtk::~App_Gtk  )  [virtual]
 


Member Function Documentation

virtual void Bakery::App_Gtk::add Gtk::Widget child  )  [virtual]
 

Overidden to add a widget in the middle, under the menu, instead of replacing the whole contents.

virtual void Bakery::App_Gtk::add_ui_from_string const Glib::ustring ui_description  )  [protected, virtual]
 

virtual void Bakery::App_Gtk::init  )  [protected, virtual]
 

Reimplemented from Bakery::App.

Reimplemented in Bakery::App_WithDoc_Gtk.

virtual void Bakery::App_Gtk::init_layout  )  [protected, virtual]
 

virtual void Bakery::App_Gtk::init_menus  )  [protected, virtual]
 

Override this to add more menus or different menus.

Reimplemented from Bakery::App.

virtual void Bakery::App_Gtk::init_menus_edit  )  [protected, virtual]
 

Call this from init_menus() to add the standard edit menu.

Implements Bakery::App.

virtual void Bakery::App_Gtk::init_menus_file  )  [protected, virtual]
 

Call this from init_menus() to add the standard file menu.

Implements Bakery::App.

Reimplemented in Bakery::App_WithDoc_Gtk.

virtual void Bakery::App_Gtk::init_menus_help  )  [protected, virtual]
 

Call this from init_menus() to add the standard help menu.

Implements Bakery::App.

virtual void Bakery::App_Gtk::init_toolbars  )  [protected, virtual]
 

Reimplemented from Bakery::App.

Reimplemented in Bakery::App_WithDoc_Gtk.

virtual void Bakery::App_Gtk::init_ui_manager  )  [protected, virtual]
 

Builds the intial ui string, with placeholders.

This allows us to merge in actual menus and toolbars in the other init_*() methods.

Reimplemented from Bakery::App.

virtual void Bakery::App_Gtk::on_about_close  )  [protected, virtual]
 

Reimplemented from Bakery::App.

virtual bool Bakery::App_Gtk::on_delete_event GdkEventAny *  event  )  [protected, virtual]
 

Reimplemented from Gtk::Widget.

virtual void Bakery::App_Gtk::on_hide  )  [protected, virtual]
 

Reimplemented from Gtk::Widget.

virtual void Bakery::App_Gtk::on_menu_help_about  )  [protected, virtual]
 

Implements Bakery::App.

virtual void Bakery::App_Gtk::ui_bring_to_front  )  [protected, virtual]
 

Implements Bakery::App.

virtual void Bakery::App_Gtk::ui_hide  )  [protected, virtual]
 

Implements Bakery::App.


Friends And Related Function Documentation

friend class AppInstanceManager [friend]
 

Reimplemented from Bakery::App.


Member Data Documentation

Gtk::HandleBox Bakery::App_Gtk::m_HandleBox_Toolbar [protected]
 

Gtk::Window* Bakery::App_Gtk::m_pAbout [static, protected]
 

Gtk::VBox* Bakery::App_Gtk::m_pVBox [protected]
 

Glib::RefPtr<Gtk::ActionGroup> Bakery::App_Gtk::m_refEditActionGroup [protected]
 

Glib::RefPtr<Gtk::ActionGroup> Bakery::App_Gtk::m_refFileActionGroup [protected]
 

Glib::RefPtr<Gtk::ActionGroup> Bakery::App_Gtk::m_refHelpActionGroup [protected]
 

Glib::RefPtr<Gtk::UIManager> Bakery::App_Gtk::m_refUIManager [protected]
 

Gtk::VBox Bakery::App_Gtk::m_VBox_PlaceHolder [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 4 19:00:20 2005 for bakery by  doxygen 1.3.9.1