25 #ifndef GCU_GTK_APPLICATION_H 26 #define GCU_GTK_APPLICATION_H 88 friend class ApplicationPrivate;
102 Application (std::string name, std::string datadir = DATADIR,
char const *help_name = NULL,
char const *icon_name = NULL,
CmdContextGtk *cc = NULL);
117 GtkWidget *GetImageResolutionWidget ();
123 GtkWidget *GetImageSizeWidget ();
133 virtual void ReceiveTargets (G_GNUC_UNUSED GtkClipboard *clipboard, G_GNUC_UNUSED GtkSelectionData *selection_data) {;}
154 void ShowURI (GdkScreen *screen, std::string& uri);
162 void OnBug (GdkScreen *screen,
char const *uri = PACKAGE_BUGREPORT)
163 {std::string s (uri); ShowURI (screen, s);}
170 void OnWeb (GdkScreen *screen,
char const *uri =
"http://gchemutils.nongnu.org/")
171 {std::string s (uri); ShowURI (screen, s);}
180 void OnMail (GdkScreen *screen,
char const *MailAddress =
"mailto:gchemutils-main@nongnu.org");
186 void OnLiveAssistance (GdkScreen *screen);
206 void CreateDefaultCmdContext ();
214 static WindowState DefaultWindowState;
224 #endif // GCU_GTK_APPLICATION_H
The Gtk using base classes.
A Gtk+ using gcu::CmdContext implementation.
#define GCU_RO_PROP(type, member)
static WindowState GetDefaultWindowState()
virtual void ReceiveTargets(G_GNUC_UNUSED GtkClipboard *clipboard, G_GNUC_UNUSED GtkSelectionData *selection_data)
void OnWeb(GdkScreen *screen, char const *uri="http://gchemutils.nongnu.org/")
virtual void NoMoreDocsEvent()
The Gnome Chemistry Utils C++ classes.
static void OnReceiveTargets(GtkClipboard *clipboard, GtkSelectionData *selection_data, Application *App)
void OnBug(GdkScreen *screen, char const *uri=PACKAGE_BUGREPORT)