Struct ytesrev::window::WindowManagerSettings [−][src]
pub struct WindowManagerSettings { pub windows: Vec<(String, WindowSettings)>, pub event_step_rule: Box<Fn(Event) -> bool>, pub quit_rule: Box<Fn(Event) -> bool>, }
Settings for the manager in general
Fields
windows: Vec<(String, WindowSettings)>
Title and settings of each window
event_step_rule: Box<Fn(Event) -> bool>
What events should make the presentation step forward? Default: The space button or mouse press
quit_rule: Box<Fn(Event) -> bool>
At what event should the presentation quit? Default: On escape or the window is closed.
Auto Trait Implementations
impl !Send for WindowManagerSettings
impl !Send for WindowManagerSettings
impl !Sync for WindowManagerSettings
impl !Sync for WindowManagerSettings