StartOptions
Fields
- size:dvui.Size
The initial size of the application window
- min_size:?dvui.Size
Set the minimum size of the window
- max_size:?dvui.Size
Set the maximum size of the window
- vsync:bool
- bool
- title:[:0]const u8
The application title to display
- org:[:0]const u8
Organization name for SDL preference paths when
pref_pathis null- icon:?[]const u8
content of a PNG image (or any other format stb_image can load)
- hidden:bool
use when running tests
- transparent:bool
Set the window to be transparent
- persist_window_geometry:bool
Automatically restore the window position and size from the previous
- pref_path:?[:0]const u8
Optional folder for app preferences, including
window_geometry.zon- window_init_options:dvui.Window.InitOptions
Will be passed to
dvui.Window.init- gpa:?std.mem.Allocator
General purpose allocator. If null, dvui picks a reasonable default.
- io:?std.Io
Io implementation. If null, dvui picks a reasonable default.