Function on_graphics_initialized

Source
pub fn on_graphics_initialized<F: FnOnce() + 'static>(f: F)
Expand description

Sets the callback to be called when the graphics of the compositor have been initialized.

This callback is only invoked once during the lifetime of the compositor. This is a good place to auto start graphical applications.