Package: gtk

Function gtk:init-check

Lambda List

gtk:init-check ()

Return Value

True if the windowing system has been successfully initialized, false otherwise.

Details

This function does the same work as the gtk:init function with only a single change. It does not terminate the program if the windowing system cannot 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.
 

See also

2024-11-5