Module GMain.Main
@gtkdoc gtk gtk-General
val init : ?setlocale:bool -> unit -> string
init
also sets the locale and returns its name. Either set~setlocale
tofalse
or GTK_SETLOCALE to "0" if you don't want to the locale to be set
val main : unit -> unit
init
also sets the locale and returns its name. Either set~setlocale
tofalse
or GTK_SETLOCALE to "0" if you don't want to the locale to be setmain
runs the main loop, untilquit
is called. Do not use in multi-threaded programs.