Bakery::App
Glib::ObjectBase
Bakery::App_Gtk
Bakery::App_WithDoc
App.h
friend class friend class AppInstanceManager AppInstanceManager AppInstanceManager
std::vector< Glib::ustring > typedef std::vector<Glib::ustring> Bakery::App::type_vecStrings type_vecStrings
sigc::signal< void > typedef sigc::signal<void> Bakery::App::type_signal_hide type_signal_hide
Glib::ustring Glib::ustring Bakery::App::m_strAppName m_strAppName
HelpInfo HelpInfo Bakery::App::m_HelpInfo m_HelpInfo
AppInstanceManager AppInstanceManager Bakery::App::m_AppInstanceManager m_AppInstanceManager
bool bool Bakery::App::m_bOperationCancelled m_bOperationCancelled
bool bool Bakery::App::m_bAboutShown m_bAboutShown
Glib::ustring Glib::ustring Bakery::App::m_strCommandLine_0 m_strCommandLine_0
type_signal_hide type_signal_hide Bakery::App::m_signal_hide m_signal_hide
Bakery::App::App
(const Glib::ustring &appname=Glib::ustring())
App
const Glib::ustring & appname Glib::ustring()

Don't forget to call init() too.

virtual Bakery::App::~App
()
~App
void virtual void Bakery::App::init () init init init init
Glib::ustring virtual Glib::ustring Bakery::App::get_version () const get_version
type_signal_hide type_signal_hide Bakery::App::ui_signal_hide () ui_signal_hide
void virtual void Bakery::App::on_menu_file_new () on_menu_file_new
void virtual void Bakery::App::on_menu_file_close () on_menu_file_close on_menu_file_close
void virtual void Bakery::App::on_menu_file_exit () on_menu_file_exit
void virtual void Bakery::App::on_menu_edit_cut () on_menu_edit_cut
void virtual void Bakery::App::on_menu_edit_copy () on_menu_edit_copy on_menu_edit_copy
void virtual void Bakery::App::on_menu_edit_paste () on_menu_edit_paste on_menu_edit_paste
void virtual void Bakery::App::on_menu_edit_clear () on_menu_edit_clear on_menu_edit_clear
void virtual void Bakery::App::on_menu_help_about ()=0 on_menu_help_about on_menu_help_about
void virtual void Bakery::App::on_about_close () on_about_close on_about_close
void static void Bakery::App::set_about_information (const Glib::ustring &strVersion, const type_vecStrings &vecAuthors, const Glib::ustring &strCopyright, const Glib::ustring &strDescription) set_about_information const Glib::ustring & strVersion const type_vecStrings & vecAuthors const Glib::ustring & strCopyright const Glib::ustring & strDescription
void static void Bakery::App::set_about_information (const Glib::ustring &strVersion, const type_vecStrings &vecAuthors, const Glib::ustring &strCopyright, const Glib::ustring &strDescription, const type_vecStrings &vecDocumenters, const Glib::ustring &strTranslatorCredits) set_about_information const Glib::ustring & strVersion const type_vecStrings & vecAuthors const Glib::ustring & strCopyright const Glib::ustring & strDescription const type_vecStrings & vecDocumenters const Glib::ustring & strTranslatorCredits
void static void Bakery::App::set_command_line_args (int argc, char **&argv) set_command_line_args int argc char **& argv
void static void Bakery::App::init_app_name (const Glib::ustring &appname) init_app_name const Glib::ustring & appname
void static void Bakery::App::set_operation_cancelled (bool bVal=true) set_operation_cancelled bool bVal true
bool static bool Bakery::App::get_operation_cancelled () get_operation_cancelled
void virtual void Bakery::App::init_ui_manager () init_ui_manager init_ui_manager

Builds the intial ui string, with placeholders.

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

void virtual void Bakery::App::init_menus () init_menus init_menus

Override this to add more menus or different menus.

void virtual void Bakery::App::init_menus_file ()=0 init_menus_file init_menus_file init_menus_file

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

void virtual void Bakery::App::init_menus_edit ()=0 init_menus_edit init_menus_edit

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

void virtual void Bakery::App::init_menus_help ()=0 init_menus_help init_menus_help

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

void virtual void Bakery::App::init_toolbars () init_toolbars init_toolbars init_toolbars
App * virtual App* Bakery::App::new_instance ()=0 new_instance
void virtual void Bakery::App::ui_hide ()=0 ui_hide ui_hide
void virtual void Bakery::App::ui_bring_to_front ()=0 ui_bring_to_front ui_bring_to_front

Bakery's Main Window.

This is an abstract class. You must use a class such as App_Gtk, which implements the ui_* methods for a particular GUI toolkit.

Features:

- Override methods to add/change menus/toolbars/statusbar.

  - Default is basic File, Edit, Help menus and toolbar icons.

- Configurable about box via set_about_information().

TODO:

- Command-line args - wrap popt?

- Session Management - need Command-line args.

Bakery::App_WithDoc_Gtk
Glib::ObjectBase
sigc::trackable
Bakery::App
Bakery::App_Gtk
Bakery::App_WithDoc
Glib::ustring
Bakery::AppInstanceManager
Glib::ObjectBase
sigc::trackable
Bakery::App
m_strCommandLine_0 m_strAppName
m_AppInstanceManager
- Bakery::App
  App
- Bakery::App
  AppInstanceManager
- Bakery::App
  connect_property_changed
- Bakery::App
  connect_property_changed_with_return
- Bakery::App
  get_operation_cancelled
- Bakery::App
  get_property
- Bakery::App
  get_property_value
- Bakery::App
  get_version
- Bakery::App
  gobj
- Bakery::App
  gobj
- Bakery::App
  gobj_copy
- Bakery::App
  init
- Bakery::App
  init_app_name
- Bakery::App
  init_menus
- Bakery::App
  init_menus_edit
- Bakery::App
  init_menus_file
- Bakery::App
  init_menus_help
- Bakery::App
  init_toolbars
- Bakery::App
  init_ui_manager
- Bakery::App
  initialize
- Bakery::App
  m_AppInstanceManager
- Bakery::App
  m_bAboutShown
- Bakery::App
  m_bOperationCancelled
- Bakery::App
  m_HelpInfo
- Bakery::App
  m_signal_hide
- Bakery::App
  m_strAppName
- Bakery::App
  m_strCommandLine_0
- Bakery::App
  new_instance
- Bakery::App
  ObjectBase
- Bakery::App
  ObjectBase
- Bakery::App
  ObjectBase
- Bakery::App
  on_about_close
- Bakery::App
  on_menu_edit_clear
- Bakery::App
  on_menu_edit_copy
- Bakery::App
  on_menu_edit_cut
- Bakery::App
  on_menu_edit_paste
- Bakery::App
  on_menu_file_close
- Bakery::App
  on_menu_file_exit
- Bakery::App
  on_menu_file_new
- Bakery::App
  on_menu_help_about
- Bakery::App
  reference
- Bakery::App
  set_about_information
- Bakery::App
  set_about_information
- Bakery::App
  set_command_line_args
- Bakery::App
  set_operation_cancelled
- Bakery::App
  set_property
- Bakery::App
  set_property_value
- Bakery::App
  type_signal_hide
- Bakery::App
  type_vecStrings
- Bakery::App
  ui_bring_to_front
- Bakery::App
  ui_hide
- Bakery::App
  ui_signal_hide
- Bakery::App
  unreference
- Bakery::App
  ~App
- Bakery::App
  ~ObjectBase