Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

GtkGui Class Reference

Main class for the GTK GUI. The GUI windows should be started though this class. More...

Collaboration diagram for GtkGui:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GtkGui (Shell shell)
void BeginGuiThread ()
void ShellWindow ()
void Quit ()
void NewVariableWindow ()
void NewGeneratedSourceWindow ()

Private Member Functions

void CheckAndSetHasStartedGuiThread ()

Private Attributes

Shell _shell
bool _hasStartedGuiThread = false

Detailed Description

Main class for the GTK GUI. The GUI windows should be started though this class.

Todo:
Create a ListView which is similar to TreeView, except that it only can be used for lists. It should implement similar behaviour to ArrayList.


Constructor & Destructor Documentation

GtkGui::GtkGui Shell  shell  )  [inline]
 


Member Function Documentation

void GtkGui::BeginGuiThread  )  [inline]
 

void GtkGui::CheckAndSetHasStartedGuiThread  )  [inline, private]
 

void GtkGui::NewGeneratedSourceWindow  )  [inline]
 

void GtkGui::NewVariableWindow  )  [inline]
 

void GtkGui::Quit  )  [inline]
 

Todo:
Should probably call delete on all windows before calling Application.Quit(). However, be aware that different window classes calls this methods. Therefore avoid a newer ending loop of calls. It is only important to delete all windows here, if the hole application does not quit when this method is called. The application currently does. Maybe just delete the parent and Gtk will delete all child windows.

void GtkGui::ShellWindow  )  [inline]
 


Member Data Documentation

bool GtkGui::_hasStartedGuiThread = false [private]
 

Shell GtkGui::_shell [private]
 


The documentation for this class was generated from the following file: SourceForge.net Logo