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

#include <gcu/dialog-owner.h>

Inheritance diagram for gcu::DialogOwner:
gcp::Atom gcp::ReactionProp gcu::Application gcu::Document gcugtk::Printable gcp::FragmentAtom gcugtk::Application gcp::Document gcu::GLDocument gcugtk::SpectrumDocument gcp::Document gcugtk::GLView gcugtk::SpectrumDocument

Public Member Functions

 DialogOwner ()
virtual ~DialogOwner ()
DialogGetDialog (std::string name) const
void ClearDialogs ()

Detailed Description

This class is the base class for objects owning dialogs. It is aimed at ensuring that each dialog is unique and that when the owner is destroyed, its dialogs are closed.

Definition at line 42 of file dialog-owner.h.

Constructor & Destructor Documentation

gcu::DialogOwner::DialogOwner ( )

The constructor.

virtual gcu::DialogOwner::~DialogOwner ( )
virtual

The destructor.

Member Function Documentation

void gcu::DialogOwner::ClearDialogs ( )

Destroys all dialogs associated with this instance.

Dialog* gcu::DialogOwner::GetDialog ( std::string  name) const
Parameters
namethe name associated to the Dialog.
Returns
the Dialog instance associated with name or NULL if there is none.

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