|
| | Application () |
| |
| virtual | ~Application () |
| |
| virtual gcr::Document * | OnFileNew ()=0 |
| |
| void | OnFileOpen () |
| |
| void | OnFileSave () |
| |
| void | OnFileSaveAs () |
| |
| bool | OnFileClose () |
| |
| void | OnSaveAsImage () |
| |
| bool | OnQuit () |
| |
| void | SetActiveDocument (Document *doc) |
| |
| virtual Window * | CreateNewWindow (Document *doc) |
| |
| bool | FileProcess (const gchar *filename, const gchar *mime_type, bool bSave, GtkWindow *window, gcu::Document *pDoc=NULL) |
| |
| char const * | GetFirstSupportedMimeType (std::list< std::string >::iterator &it) |
| |
| char const * | GetNextSupportedMimeType (std::list< std::string >::iterator &it) |
| |
| Document * | GetDocument (const char *filename) |
| |
| bool | IsEmpty () |
| |
| void | SetOpening () |
| |
| GOConfNode * | GetConfNode (void) const |
| |
| | GLApplication (std::string name, std::string datadir=DATADIR, char const *help_name=NULL, char const *icon_name=NULL, CmdContextGtk *cc=NULL) |
| | Constructor. More...
|
| |
| virtual | ~GLApplication () |
| | Destructor. More...
|
| |
| bool | GetRenderDirect (void) |
| |
| | Application (std::string name, std::string datadir=DATADIR, char const *help_name=NULL, char const *icon_name=NULL, CmdContextGtk *cc=NULL) |
| |
| GtkWidget * | GetImageResolutionWidget () |
| |
| GtkWidget * | GetImageSizeWidget () |
| |
| virtual void | ReceiveTargets (G_GNUC_UNUSED GtkClipboard *clipboard, G_GNUC_UNUSED GtkSelectionData *selection_data) |
| |
| void | ShowURI (GdkScreen *screen, std::string &uri) |
| |
| void | OnBug (GdkScreen *screen, char const *uri=PACKAGE_BUGREPORT) |
| |
| void | OnWeb (GdkScreen *screen, char const *uri="http://gchemutils.nongnu.org/") |
| |
| void | OnMail (GdkScreen *screen, char const *MailAddress="mailto:gchemutils-main@nongnu.org") |
| |
| void | OnLiveAssistance (GdkScreen *screen) |
| |
| GtkRecentManager * | GetRecentManager (void) const |
| |
| | Application (std::string name, std::string datadir=DATADIR, char const *help_name=NULL, char const *icon_name=NULL, CmdContext *cc=NULL) |
| |
| void | OnHelp (std::string s="") |
| |
| bool | HasHelp () |
| |
| std::string const & | GetName () const |
| |
| virtual GtkWindow * | GetWindow () |
| |
| virtual bool | FileProcess (G_GNUC_UNUSED const gchar *filename, G_GNUC_UNUSED const gchar *mime_type, G_GNUC_UNUSED bool bSave, G_GNUC_UNUSED GtkWindow *window, G_GNUC_UNUSED Document *pDoc=NULL) |
| |
| char const * | GetCurDir () |
| |
| void | SetCurDir (char const *dir) |
| |
| void | SetCurDir (std::string const &dir) |
| |
| std::map< std::string, GdkPixbufFormat * > & | GetSupportedPixbufFormats () |
| |
| char const * | GetPixbufTypeName (std::string &filename, char const *mime_type) |
| |
| ContentType | Load (std::string const &uri, const char *mime_type, Document *Doc, const char *options=NULL) |
| |
| ContentType | Load (GsfInput *input, const char *mime_type, Document *Doc, const char *options=NULL) |
| |
| bool | Save (std::string const &uri, const char *mime_type, Object const *Obj, ContentType type, const char *options=NULL) |
| |
| bool | Save (GsfOutput *output, const char *mime_type, Object const *Obj, ContentType type, const char *options=NULL) |
| |
| virtual Document * | CreateNewDocument () |
| |
| std::string const & | GetIconName () |
| |
| void | RegisterOptions (GOptionEntry const *entries, char const *translation_domain=GETTEXT_PACKAGE) |
| |
| void | AddOptions (GOptionContext *context) |
| |
| TypeId | AddType (std::string TypeName, Object *(*CreateFunc)(), TypeId id=OtherType) |
| |
| Object * | CreateObject (const std::string &TypeName, Object *parent=NULL) |
| |
| void | AddRule (TypeId type1, RuleId rule, TypeId type2) |
| |
| void | AddRule (const std::string &type1, RuleId rule, const std::string &type2) |
| |
| const std::set< TypeId > & | GetRules (TypeId type, RuleId rule) |
| |
| const std::set< TypeId > & | GetRules (const std::string &type, RuleId rule) |
| |
| void | SetCreationLabel (TypeId Id, std::string Label) |
| |
| const std::string & | GetCreationLabel (TypeId Id) |
| |
| bool | BuildObjectContextualMenu (Object *target, UIManager *uim, Object *object, double x, double y) |
| |
| void | AddMenuCallback (TypeId Id, BuildMenuCb cb) |
| |
| const std::string & | GetCreationLabel (const std::string &TypeName) |
| |
| CmdContext * | GetCmdContext () |
| |
| char * | ConvertToCML (std::string const &uri, const char *mime_type, const char *options=NULL) |
| |
| char * | ConvertToCML (GsfInput *input, const char *mime_type, const char *options=NULL) |
| |
| void | ConvertFromCML (const char *cml, std::string const &uri, const char *mime_type, const char *options=NULL) |
| |
| void | ConvertFromCML (const char *cml, GsfOutput *output, const char *mime_type, const char *options=NULL) |
| |
| std::list< Database > const & | GetDatabases (char const *classname) |
| |
| std::set< Document * > | GetDocs (void) |
| |
| unsigned | GetScreenResolution (void) |
| |
| void | SetImageResolution (unsigned val) |
| |
| unsigned | GetImageResolution (void) const |
| |
| unsigned & | GetRefImageResolution (void) |
| |
| void | SetImageWidth (unsigned val) |
| |
| unsigned | GetImageWidth (void) const |
| |
| unsigned & | GetRefImageWidth (void) |
| |
| void | SetImageHeight (unsigned val) |
| |
| unsigned | GetImageHeight (void) const |
| |
| unsigned & | GetRefImageHeight (void) |
| |
| void | SetTransparentBackground (bool val) |
| |
| bool | GetTransparentBackground (void) const |
| |
| bool & | GetRefTransparentBackground (void) |
| |
| | DialogOwner () |
| |
| virtual | ~DialogOwner () |
| |
| Dialog * | GetDialog (std::string name) const |
| |
| void | ClearDialogs () |
| |
GCrystal application base class.
This class is used to represent a GCrystal application. It is a virtual class since at least one method is pure virtual (gcp::Application::OnFileNew)
Definition at line 50 of file gcr/application.h.