pub fn init() -> Result<(), BoolError>
Tries to initialize GTK.
Call either this function or
Application::new before using any
other GTK functions.
Note that this function calls
gtk_init_check() rather than
so will not cause the program to terminate if GTK could not be initialized.
Instead, an Ok is returned if the windowing system was successfully
initialized otherwise an Err is returned.