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 |
quit | Makes the innermost invocation of the main loop return when it regains control. |
run | Start the event loop. |
Methods
Makes the innermost invocation of the main loop return when it regains control.
GtkMain.quit()
Start the event loop.
GtkMain.run( [window] )
window | A window to be shown |
Raise |
ParamError | Invalid window |
|