#include <gcp/stringdlg.h>
Public Types | |
enum | data_type { SMILES, INCHI } |
Public Member Functions | |
StringDlg (Document *pDoc, std::string &data, enum data_type type) | |
virtual | ~StringDlg () |
bool | Apply () |
void | Copy () |
void | OnGetData (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info) |
Definition at line 39 of file stringdlg.h.
The string types supported by StringDlg.
Definition at line 45 of file stringdlg.h.
pDoc | the document owning the dialog. | |
data | the string to display. | |
type | the type of the data. |
virtual gcp::StringDlg::~StringDlg | ( | ) | [virtual] |
The destructor.
bool gcp::StringDlg::Apply | ( | ) | [virtual] |
Called by the framework to save the string to a file upon user request.
Reimplemented from gcu::Dialog.
void gcp::StringDlg::Copy | ( | ) |
Called by the framework when the user clicks the "Copy" button.
void gcp::StringDlg::OnGetData | ( | GtkClipboard * | clipboard, | |
GtkSelectionData * | selection_data, | |||
guint | info | |||
) |
clipboard | the clipboard requesting the data. | |
selection_data | the GtkSelectionData to which the string should be copied. | |
info | the type of data requested. Unused since only ASCII strings are supported. |