gtk.MainWindow



class MainWindow : gtk.Window.Window;
A top Level window that will stop the main event cycle when it's closed. Closing the last of the windows of class " MainWindow " will end the application.

this(string title);
Creates a new MainWindow with a title

protected bool windowDelete (Event event, Widget widget);
Executed when the user tries to close the window

Returns:
true to refuse to close the window

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

Params:
int code the code reason to exit
bool force if true the application must expect to be closed even against it's will

Returns:
false to refuse to exit

Page was generated with on Fri May 17 23:50:19 2013