#include <basicGtkWindow.h>
Inheritance diagram for BasicGtkWindow:
Public Member Functions | |
BasicGtkWindow (bool free_store=true) | |
The free_store parameter should be true if the window object has been allocated from the free store (using new) and can be safely deleted using delete when the window is destroyed by the user, or false if this is not the case. | |
virtual | ~BasicGtkWindow () |
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 Types | |
enum | State { S_virgin, S_setup, S_ready, S_gone } |
Private Member Functions | |
void | window_destroyed () |
gint | idle_event () |
Private Attributes | |
bool | _destroyed |
bool | _free_store |
State | _state |
SigC::Connection | _destroy_connection |
Definition at line 37 of file basicGtkWindow.h.
|
Definition at line 52 of file basicGtkWindow.h. |
|
The free_store parameter should be true if the window object has been allocated from the free store (using new) and can be safely deleted using delete when the window is destroyed by the user, or false if this is not the case.
Definition at line 43 of file basicGtkWindow.cxx. References destruct(). |
|
Definition at line 56 of file basicGtkWindow.cxx. References _destroy_connection. |
|
Definition at line 133 of file basicGtkWindow.cxx. |
|
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(), and GtkStatsMainWindow::~GtkStatsMainWindow(). |
|
Definition at line 162 of file basicGtkWindow.cxx. |
|
Call this after initializing the window.
Definition at line 69 of file basicGtkWindow.cxx. References _destroyed, GtkBase::_gtk, _state, S_gone, and S_virgin. |
|
|
|
Definition at line 145 of file basicGtkWindow.cxx. |
|
Definition at line 62 of file basicGtkWindow.h. Referenced by ~BasicGtkWindow(). |
|
Definition at line 59 of file basicGtkWindow.h. Referenced by setup(). |
|
Definition at line 60 of file basicGtkWindow.h. |
|
Definition at line 61 of file basicGtkWindow.h. Referenced by delete_self(), and setup(). |