pub fn add_event_handler<F>(&mut self, handler: F)
	where
		F: 'static + FnMut(&mut ContextHandle, &mut Event, &mut EventHandlerControlFlow),
	{
		self.context.add_event_handler(handler);
	}
/// Add a global event handler.
Add a global event handler.
Add a global event handler .
pub fn add_event_handler<F>(&mut self, handler: F)
	where
		F: 'static + FnMut(&mut ContextHandle, &mut Event, &mut EventHandlerControlFlow),
	{
		self.context.add_event_handler(handler);
	}
pub fn add_event_handler < F > ( & mut self , handler : F ) where F : ' static + FnMut ( & mut ContextHandle , & mut Event , & mut EventHandlerControlFlow ) , { self . context . add_event_handler ( handler ) ; }
Add a global event handler.
Add a global event handler .
&mut self
handler
F