The Gnome Chemistry Utils
0.14.0
|
#include <target.h>
Public Member Functions | |
Target (Application *App) | |
virtual | ~Target () |
void | SetWindow (GtkWindow *window) |
virtual bool | Close ()=0 |
Application * | GetApplication (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 | |
Application * | m_Application |
Document * | m_Document |
Protected Attributes inherited from gcugtk::Window | |
GtkWindow * | m_Window |
Protected Attributes inherited from gcu::Window | |
UIManager * | m_UIManager |
The base class for windows able to edit GChemPaint files. When one of these windows is active, the tools box is displayed on the same desktop. gcp::Window is a derived class. Another one is gcpResidueDialog implemented in the residue plugin (but not documented like everything implemented in plugins).
gcp::Target::Target | ( | Application * | App | ) |
App | the application owning the target. |
Creates a target for the application.
|
virtual |
The destructor.
|
pure virtual |
virtual method called when the application ends to ensure everything is correctly closed. This is a pure virtual class, so it must be overloaded.
Implemented in gcp::Window.
|
inline |
void gcp::Target::SetWindow | ( | GtkWindow * | window | ) |
window | a GtkWindow. |
Sets window as the GtkWindow for this target.
|
protected |
The gcp::Application owning this target.
|
protected |
The gcp::Document displayed in this target window.