The Gnome Chemistry Utils
0.13.6
|
#include <gcugtk/chem3dwindow.h>
Inherits gcugtk::Window.
Public Member Functions | |
Chem3dWindow (Application *app, Chem3dDoc *doc, char const *extra_ui=NULL) | |
virtual | ~Chem3dWindow () |
void | AddMoleculeMenus (Molecule *mol) |
Application * | GetApplication (void) |
Chem3dDoc * | GetDocument (void) |
Chem3dView * | GetView (void) |
Protected Attributes | |
Application * | m_Application |
Chem3dDoc * | m_Document |
Chem3dView * | m_View |
Window class for a molecule.
Definition at line 43 of file chem3dwindow.h.
gcugtk::Chem3dWindow::Chem3dWindow | ( | Application * | app, |
Chem3dDoc * | doc, | ||
char const * | extra_ui = NULL |
||
) |
app | the application owning the window. |
doc | the document for the window. |
extra_ui | an xml string representing menus and tool buttons to add to the window. |
The constructor.
virtual gcugtk::Chem3dWindow::~Chem3dWindow | ( | ) | [virtual] |
Default destructor.
void gcugtk::Chem3dWindow::AddMoleculeMenus | ( | Molecule * | mol | ) |
mol | the displayed molecule. |
Adds menus relative to the displayed molecule, such as database access, InChI generation and so on.
gcugtk::Chem3dWindow::GetApplication | ( | void | ) | [inline] |
Definition at line 83 of file chem3dwindow.h.
gcugtk::Chem3dWindow::GetDocument | ( | void | ) | [inline] |
Definition at line 90 of file chem3dwindow.h.
gcugtk::Chem3dWindow::GetView | ( | void | ) | [inline] |
Definition at line 97 of file chem3dwindow.h.
gcugtk::Chem3dWindow::m_Application [protected] |
The Application owning the window.
Definition at line 83 of file chem3dwindow.h.
gcugtk::Chem3dWindow::m_Document [protected] |
The document displayed in the window.
Definition at line 90 of file chem3dwindow.h.
gcugtk::Chem3dWindow::m_View [protected] |
The view associated with the window.
Definition at line 97 of file chem3dwindow.h.