#include <App_WithDoc_Gtk.h>
Inheritance diagram for Bakery::App_WithDoc_Gtk:
Public Types | |
typedef sigc::slot< void, EggRecentItem * > | RecentFileSlot |
Public Member Functions | |
App_WithDoc_Gtk (const Glib::ustring &appname) | |
Don't forget to call init() too. | |
App_WithDoc_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_WithDoc_Gtk () |
virtual void | init () |
Protected Member Functions | |
virtual void | init_menus_file () |
Call this from init_menus() to add the standard file menu. | |
virtual void | init_menus_file_recentfiles (const Glib::ustring &path) |
virtual void | init_toolbars () |
virtual void | document_history_add (const Glib::ustring &file_uri) |
virtual void | document_history_remove (const Glib::ustring &file_uri) |
virtual void | update_window_title () |
virtual void | ui_warning (const Glib::ustring &text) |
virtual Glib::ustring | ui_file_select_open () |
virtual Glib::ustring | ui_file_select_save (const Glib::ustring &old_file_uri) |
Present a user interface that allows the user to select a location to save the file. | |
virtual void | ui_show_modification_status () |
virtual enumSaveChanges | ui_offer_to_save_changes () |
virtual bool | ui_ask_overwrite (const std::string &file_uri) |
void | on_recent_files_activate (EggRecentItem *item) |
Protected Attributes | |
Glib::RefPtr< Gtk::Action > | m_action_save |
Glib::RefPtr< Gtk::Action > | m_action_saveas |
EggRecentModel * | m_recent_files_model |
RecentFileSlot | m_slot_recent_files_activate |
Your application's installation should register your document's MIME-type in GNOME's (freedesktop's) MIME-type system, and register your application as capable of opening documents of that MIME-type.
|
|
|
Don't forget to call init() too.
|
|
This constructor can be used to implement derived classes for use with Gnome::Glade::Xml::get_derived_widget().
|
|
|
|
Reimplemented from Bakery::App_WithDoc. |
|
Reimplemented from Bakery::App_WithDoc. |
|
Reimplemented from Bakery::App_Gtk. |
|
Call this from init_menus() to add the standard file menu.
Reimplemented from Bakery::App_Gtk. |
|
|
|
Reimplemented from Bakery::App_Gtk. |
|
|
|
Implements Bakery::App_WithDoc. |
|
Implements Bakery::App_WithDoc. |
|
Present a user interface that allows the user to select a location to save the file.
Implements Bakery::App_WithDoc. |
|
Implements Bakery::App_WithDoc. |
|
Implements Bakery::App_WithDoc. |
|
Implements Bakery::App_WithDoc. |
|
Reimplemented from Bakery::App_WithDoc. |
|
|
|
|
|
|
|
|