Function mini_gl_fb::get_fancy [−][src]
pub fn get_fancy<ET: 'static>(
config: Config,
event_loop: &EventLoop<ET>
) -> MiniGlFb
Create a window with a custom configuration.
If this configuration is not sufficient for you, check out the source for this function.
Creating the MiniGlFb
instance is just a call to two functions!
Many window settings can be changed after creation, so you most likely don't ever need to call
get_fancy
with a custom config. However, if there is a bug in the OS/windowing system or
glutin or in this library, this function exists as a possible work around (or in case for some
reason everything must be absolutely correct at window creation)