The Gnome Chemistry Utils 0.13.5
|
#include <gcu/window.h>
Public Member Functions | |
Window () | |
virtual | ~Window () |
virtual void | Destroy () |
virtual void | Show () |
void | ActivateActionWidget (char const *path, bool activate) |
Protected Attributes | |
UIManager * | m_UIManager |
Base class for windows. Just a placeholder for now.
Definition at line 35 of file gcu/window.h.
gcu::Window::Window | ( | ) |
The default constructor.
virtual gcu::Window::~Window | ( | ) | [virtual] |
The destructor.
void gcu::Window::ActivateActionWidget | ( | char const * | path, |
bool | activate | ||
) |
path | the path to activate. |
activate | whether to activate or deactivate. |
Activates or deactivates the menu item corresponding to path according to the value of activate.
To deactivate the "Paste" menu item, use:
ActivateActionWidget ("/MainMenu/EditMenu/Paste", false);
virtual void gcu::Window::Destroy | ( | ) | [virtual] |
Destroys the window. This method should be overloaded in derived classes since default imlementation does not do anything.
virtual void gcu::Window::Show | ( | ) | [virtual] |
Raises the window and makes it active. This method should be overloaded in derived classes since default imlementation does not do anything.
UIManager* gcu::Window::m_UIManager [protected] |
The gcugtk::UIManager associated with the window.
Definition at line 75 of file gcu/window.h.