The Gnome Chemistry Utils
0.14.0
|
#include <gcugtk/stringinputdlg.h>
Public Member Functions | |
StringInputDlg (gcu::Document *doc, StringInputCB cb, char const *title) | |
virtual | ~StringInputDlg () |
bool | Apply () |
![]() | |
Dialog (Application *App, char const *filename, const char *windowname, char const *domainname, gcu::DialogOwner *owner=NULL, void(*extra_destroy)(gpointer)=NULL, gpointer data=NULL) throw (std::runtime_error) | |
virtual | ~Dialog () |
virtual void | Destroy () |
virtual void | Closed () |
GtkWindow * | GetWindow () |
void | Present () |
void | SetTransientFor (GtkWindow *window) |
![]() | |
UIBuilder (char const *filename, char const *domain) throw (std::runtime_error) | |
virtual | ~UIBuilder () |
GtkWidget * | GetWidget (char const *wname) |
GtkWidget * | GetRefdWidget (char const *wname) |
GObject * | GetObject (char const *name) |
GtkBuilder * | GetBuilder (void) const |
![]() | |
Dialog (Application *App, const char *windowname, DialogOwner *owner=NULL) throw (std::runtime_error) | |
void | SetRealName (char const *name, DialogOwner *owner) throw (std::runtime_error) |
std::string & | GetWindowName () |
Application * | GetApp (void) |
Additional Inherited Members | |
![]() | |
bool | GetNumber (GtkEntry *Entry, double *x, CheckType c=NoCheck, double min=0, double max=0) |
![]() | |
GtkWindow * | dialog |
Represents the dialog used to enter a string. It is used by GChemPaint and GChem3d to import an InChI or a SMILES.
Definition at line 48 of file stringinputdlg.h.
gcugtk::StringInputDlg::StringInputDlg | ( | gcu::Document * | doc, |
StringInputCB | cb, | ||
char const * | title | ||
) |
doc | a document. |
cb | the callback to use when a string has been entered. |
title | the window title. |
The constructor.
|
virtual |
The destructor.
|
virtual |
Called after the user has eneterd and balidated a string.
Reimplemented from gcugtk::Dialog.