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

#include <gcu/window.h>

Inherited by gcugtk::Window.

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

gcu::Window::Window ( )

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

UIManager* gcu::Window::m_UIManager
protected

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: