MimaGtk::MimaChildWindow Class Reference

Child window for Mima* components. More...

#include <mimaChildWindow.h>

Inherited by MimaGtk::MimaCLIWnd, MimaGtk::MimaEditWnd, and MimaGtk::MimaMemWnd.

List of all members.

Public Member Functions

 MimaChildWindow (MimaSim::Mima *_mima)
type_signal_void signal_destroy ()
 Emitted when this window is no longer needed and can be destroyed.
virtual ChildWindowType type ()=0
virtual ~MimaChildWindow ()

Protected Member Functions

virtual bool ask_to_save ()=0
 Ask the user to save changes (if any).
virtual bool on_delete_event (GdkEventAny *event)
 This event is triggered when the window is closed by the user.
virtual void on_hide ()
 The main application tries to close this window.

Protected Attributes

MimaSim::Mimam_mima
type_signal_void m_signal_destroy
bool m_unsaved_changes
 Are there unsaved changes?


Detailed Description

Child window for Mima* components.


Constructor & Destructor Documentation

MimaChildWindow::MimaChildWindow ( MimaSim::Mima _mima  ) 

MimaChildWindow::~MimaChildWindow (  )  [virtual]


Member Function Documentation

virtual bool MimaGtk::MimaChildWindow::ask_to_save (  )  [protected, pure virtual]

Ask the user to save changes (if any).

Implemented in MimaGtk::MimaCLIWnd, MimaGtk::MimaEditWnd, and MimaGtk::MimaMemWnd.

bool MimaChildWindow::on_delete_event ( GdkEventAny *  event  )  [protected, virtual]

This event is triggered when the window is closed by the user.

void MimaChildWindow::on_hide (  )  [protected, virtual]

The main application tries to close this window.

type_signal_void MimaGtk::MimaChildWindow::signal_destroy (  )  [inline]

Emitted when this window is no longer needed and can be destroyed.

virtual ChildWindowType MimaGtk::MimaChildWindow::type (  )  [pure virtual]

Implemented in MimaGtk::MimaCLIWnd, MimaGtk::MimaEditWnd, and MimaGtk::MimaMemWnd.


Member Data Documentation

MimaSim::Mima* MimaGtk::MimaChildWindow::m_mima [protected]

type_signal_void MimaGtk::MimaChildWindow::m_signal_destroy [protected]

bool MimaGtk::MimaChildWindow::m_unsaved_changes [protected]

Are there unsaved changes?


The documentation for this class was generated from the following files:
Generated on Sat Nov 4 19:40:58 2006 for mimasim by  doxygen 1.4.7