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);
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");
224 #endif // GCU_GTK_APPLICATION_H
A Gtk+ using gcu::CmdContext implementation.
void CreateDefaultCmdContext()
#define GCU_RO_PROP(type, member)
static WindowState GetDefaultWindowState()
virtual void ReceiveTargets(G_GNUC_UNUSED GtkClipboard *clipboard, G_GNUC_UNUSED GtkSelectionData *selection_data)
GtkWidget * GetImageResolutionWidget()
void OnWeb(GdkScreen *screen, char const *uri="http://gchemutils.nongnu.org/")
void OnLiveAssistance(GdkScreen *screen)
virtual void NoMoreDocsEvent()
void ShowURI(GdkScreen *screen, std::string &uri)
void OnMail(GdkScreen *screen, char const *MailAddress="mailto:gchemutils-main@nongnu.org")
GtkWidget * GetImageSizeWidget()
static void OnReceiveTargets(GtkClipboard *clipboard, GtkSelectionData *selection_data, Application *App)
static Application * GetDefaultApplication()
void OnBug(GdkScreen *screen, char const *uri=PACKAGE_BUGREPORT)
Application(std::string name, std::string datadir=DATADIR, char const *help_name=NULL, char const *icon_name=NULL, CmdContextGtk *cc=NULL)