The Gnome Chemistry Utils  0.13.7
Public Member Functions | Protected Attributes
gcu::Window Class Reference

#include <gcu/window.h>

Inherited by gcugtk::Window.

List of all members.

Public Member Functions

 Window ()
virtual ~Window ()
virtual void Destroy ()
virtual void Show ()
void ActivateActionWidget (char const *path, bool activate)

Protected Attributes

UIManagerm_UIManager

Detailed Description

Base class for windows. Just a placeholder for now.

Definition at line 35 of file gcu/window.h.


Constructor & Destructor Documentation

The default constructor.

virtual gcu::Window::~Window ( ) [virtual]

The destructor.

Reimplemented in gcr::Window, and gcp::Window.


Member Function Documentation

void gcu::Window::ActivateActionWidget ( char const *  path,
bool  activate 
)
Parameters:
paththe path to activate.
activatewhether 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.

Reimplemented in gcp::Window, and gcr::Window.

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.

Reimplemented in gcp::Window.


Member Data Documentation

The gcugtk::UIManager associated with the window.

Definition at line 75 of file gcu/window.h.


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