Function window_manager::init
source · pub fn init() -> Result<(Queue<Event>, Queue<Event>), &'static str>
Expand description
Initialize the window manager. It returns (keyboard_producer, mouse_producer) for the I/O devices.
pub fn init() -> Result<(Queue<Event>, Queue<Event>), &'static str>
Initialize the window manager. It returns (keyboard_producer, mouse_producer) for the I/O devices.