Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BasicGtkDialog Class Reference

This looks like a wrapper around Gtk::Dialog. More...

#include <basicGtkDialog.h>

Inheritance diagram for BasicGtkDialog:

BasicGtkWindow List of all members.

Public Member Functions

 BasicGtkDialog (bool free_store=true)
Gtk::VBox * get_vbox () const
 Returns a pointer to the main part of the dialog window.

Gtk::HBox * get_action_area () const
 Returns a pointer to part of the dialog reserved for action buttons.

void setup ()
 Call this after initializing the window.

virtual bool destruct ()
 Call this to remove the window, etc.


Protected Member Functions

void delete_self ()

Static Protected Member Functions

gint static_delete (BasicGtkWindow *window)

Private Attributes

Gtk::VBox * _vbox
Gtk::HBox * _action_area

Detailed Description

This looks like a wrapper around Gtk::Dialog.

Actually, it doesn't inherit from Gtk::Dialog at all, but instead (indirectly) from Gtk::Window; it just duplicates the default functionality of Gtk::Dialog by defining get_vbox() and a get_action_area().

Definition at line 45 of file basicGtkDialog.h.


Constructor & Destructor Documentation

BasicGtkDialog::BasicGtkDialog bool  free_store = true  ) 
 

Definition at line 33 of file basicGtkDialog.cxx.


Member Function Documentation

void BasicGtkWindow::delete_self  )  [protected, inherited]
 

Definition at line 133 of file basicGtkWindow.cxx.

References BasicGtkWindow::_state, and BasicGtkWindow::S_ready.

bool BasicGtkWindow::destruct  )  [virtual, inherited]
 

Call this to remove the window, etc.

It's not tied directly to the real destructor because that seems to just lead to trouble. This returns true if it actually destructed, or false if it had already destructed previously and did nothing this time.

Reimplemented in GtkStatsMainWindow, and GtkStatsWindow.

Definition at line 101 of file basicGtkWindow.cxx.

Referenced by BasicGtkWindow::BasicGtkWindow(), and GtkStatsMainWindow::~GtkStatsMainWindow().

Gtk::HBox * BasicGtkDialog::get_action_area  )  const
 

Returns a pointer to part of the dialog reserved for action buttons.

Definition at line 79 of file basicGtkDialog.cxx.

Gtk::VBox * BasicGtkDialog::get_vbox  )  const
 

Returns a pointer to the main part of the dialog window.

Definition at line 64 of file basicGtkDialog.cxx.

References _action_area.

void BasicGtkWindow::setup  )  [inherited]
 

Call this after initializing the window.

Definition at line 69 of file basicGtkWindow.cxx.

References BasicGtkWindow::_destroyed, GtkBase::_gtk, BasicGtkWindow::_state, BasicGtkWindow::S_gone, and BasicGtkWindow::S_virgin.

gint BasicGtkWindow::static_delete BasicGtkWindow window  )  [static, protected, inherited]
 


Member Data Documentation

Gtk::HBox* BasicGtkDialog::_action_area [private]
 

Definition at line 54 of file basicGtkDialog.h.

Referenced by get_vbox().

Gtk::VBox* BasicGtkDialog::_vbox [private]
 

Definition at line 53 of file basicGtkDialog.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 03:25:57 2003 for Panda-Tool by doxygen1.3