The Gnome Chemistry Utils  0.14.0
Public Member Functions | List of all members
gcugtk::StringInputDlg Class Reference

#include <gcugtk/stringinputdlg.h>

Inheritance diagram for gcugtk::StringInputDlg:
gcugtk::Dialog gcugtk::UIBuilder gcu::Dialog

Public Member Functions

 StringInputDlg (gcu::Document *doc, StringInputCB cb, char const *title)
virtual ~StringInputDlg ()
bool Apply ()
- Public Member Functions inherited from gcugtk::Dialog
 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)
- Public Member Functions inherited from gcugtk::UIBuilder
 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
- Public Member Functions inherited from gcu::Dialog
 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 ()
ApplicationGetApp (void)

Additional Inherited Members

- Protected Member Functions inherited from gcugtk::Dialog
bool GetNumber (GtkEntry *Entry, double *x, CheckType c=NoCheck, double min=0, double max=0)
- Protected Attributes inherited from gcugtk::Dialog
GtkWindow * dialog

Detailed Description

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.

Constructor & Destructor Documentation

gcugtk::StringInputDlg::StringInputDlg ( gcu::Document doc,
StringInputCB  cb,
char const *  title 
)
Parameters
doca document.
cbthe callback to use when a string has been entered.
titlethe window title.

The constructor.

virtual gcugtk::StringInputDlg::~StringInputDlg ( )
virtual

The destructor.

Member Function Documentation

bool gcugtk::StringInputDlg::Apply ( )
virtual

Called after the user has eneterd and balidated a string.

Returns
true.

Reimplemented from gcugtk::Dialog.


The documentation for this class was generated from the following file: