MainWindow Class Reference

Inheritance diagram for MainWindow:

Window List of all members.

Detailed Description

A top Level window that will stop the main event cycle when it's closed.

Closing the last (TODO a list of main windows) of the windows of class "MainWindow" will end the application.


Public Member Functions

 this (char[] title)
 Creates a new MainWindow with a title.

bit windowDeleteCallback (Window window, Event event)
 Executed when the user tries to close the window.

protected bit exit (int code, bit force)
 Allows the application to close and decide if it can exit.


Member Function Documentation

protected bit MainWindow.exit int  code,
bit  force
 

Allows the application to close and decide if it can exit.

Parameters:
code the code reason to exit
force if true the application must expect to be closed even against it's will
Returns:
false to refuse to exit

MainWindow.this char[]  title  ) 
 

Creates a new MainWindow with a title.

Reimplemented from Window.

bit MainWindow.windowDeleteCallback Window  window,
Event  event
 

Executed when the user tries to close the window.

Returns:
true to refuse to close the window


Generated on Sun Dec 21 02:47:11 2003 for DUI by doxygen 1.3.4