Function egui_winit::create_window
source · pub fn create_window<T>(
egui_ctx: &Context,
event_loop: &EventLoopWindowTarget<T>,
viewport_builder: &ViewportBuilder,
) -> Result<Window, OsError>
Expand description
Build and intitlaize a window.
Wrapper around create_winit_window_builder
and apply_viewport_builder_to_window
.
§Errors
Possible causes of error include denied permission, incompatible system, and lack of memory.