init_check
function init_check(argv:[String]):Boolean { // Gjs wrapper for gtk_init_check() }
This function does the same work as init with only a single change: It does not terminate the program if the windowing system can't be initialized. Instead it returns false on failure.
This way the application can fall back to some other means of communication with the user - for example a curses or command line interface.
- argv
Address of the <parameter>argv</parameter> parameter of main(), or null. Any options understood by GTK+ are stripped before return.
- Returns
true if the windowing system has been successfully initialized, false otherwise