Struct glutin::WindowAttributes
[−]
[src]
pub struct WindowAttributes { pub dimensions: Option<(u32, u32)>, pub min_dimensions: Option<(u32, u32)>, pub max_dimensions: Option<(u32, u32)>, pub monitor: Option<MonitorId>, pub title: String, pub visible: bool, pub transparent: bool, pub decorations: bool, pub multitouch: bool, }
Attributes to use when creating a window.
Fields
dimensions | The dimensions of the window. If this is The default is |
min_dimensions | The minimum dimensions a window can be, If this is The default is |
max_dimensions | The maximum dimensions a window can be, If this is The default is |
monitor | If The default is |
title | The title of the window in the title bar. The default is |
visible | Whether the window should be immediately visible upon creation. The default is |
transparent | Whether the the window should be transparent. If this is true, writing colors
with alpha values different than The default is |
decorations | Whether the window should have borders and bars. The default is |
multitouch | [iOS only] Enable multitouch, see UIView#multipleTouchEnabled |