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

#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)
ApplicationGetApplication (void)
Chem3dDocGetDocument (void)
Chem3dViewGetView (void)
- Public Member Functions inherited from gcugtk::Window
 Window ()
virtual ~Window ()
void SetTitle (char const *title)
GdkScreen * GetScreen ()
GtkWindow * GetWindow (void)
- Public Member Functions inherited from gcu::Window
 Window ()
virtual ~Window ()
virtual void Destroy ()
virtual void Show ()
void ActivateActionWidget (char const *path, bool activate)

Protected Attributes

Applicationm_Application
Chem3dDocm_Document
Chem3dViewm_View
- Protected Attributes inherited from gcugtk::Window
GtkWindow * m_Window
- Protected Attributes inherited from gcu::Window
UIManagerm_UIManager

Detailed Description

Window class for a molecule.

Definition at line 43 of file chem3dwindow.h.

Constructor & Destructor Documentation

gcugtk::Chem3dWindow::Chem3dWindow ( Application app,
Chem3dDoc doc,
char const *  extra_ui = NULL 
)
Parameters
appthe application owning the window.
docthe document for the window.
extra_uian xml string representing menus and tool buttons to add to the window.

The constructor.

virtual gcugtk::Chem3dWindow::~Chem3dWindow ( )
virtual

Default destructor.

Member Function Documentation

void gcugtk::Chem3dWindow::AddMoleculeMenus ( Molecule mol)
Parameters
molthe displayed molecule.

Adds menus relative to the displayed molecule, such as database access, InChI generation and so on.

gcugtk::Chem3dWindow::GetApplication ( void  )
inline
Returns
the Application owning the window.

Definition at line 83 of file chem3dwindow.h.

gcugtk::Chem3dWindow::GetDocument ( void  )
inline
Returns
the document displayed in the window.

Definition at line 90 of file chem3dwindow.h.

gcugtk::Chem3dWindow::GetView ( void  )
inline
Returns
view associated with the window.

Definition at line 97 of file chem3dwindow.h.

Member Data Documentation

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.


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