11.82Class GtkMain

Initialize gtk and prepare the main loop

Class GtkMain( [args],[set_locale] )
args List of command-line arguments (array of strings)
set_locale Set the locale before init (boolean, default true)
Raise
ParamError invalid argument
GtkError on init failure

    import from gtk
    m = GtkMain( args, true )
    w = GtkWindow()
    m.run( w )
Methods
quitMakes the innermost invocation of the main loop return when it regains control.
runStart the event loop.

Methods

quit

Makes the innermost invocation of the main loop return when it regains control.

GtkMain.quit()

run

Start the event loop.

GtkMain.run( [window] )
window A window to be shown
Raise
ParamError Invalid window
Made with http://www.falconpl.org