Function gtk::set_initialized [−][src]
pub unsafe fn set_initialized()
Expand description
Informs this crate that GTK has been initialized and the current thread is the main one.
Panics
This function will panic if you attempt to initialise GTK from more than one thread.
Safety
You must only call this if:
- You have initialised the underlying GTK library yourself.
- You did 1 on the thread with which you are calling this function
- You ensure that this thread is the main thread for the process.