DVUI

InitOptions

User options for a new os window. See dvui.osWindow

Note that each backend is free to maintain some global state and is responsible to interpret these options and the resulting effect may vary.

Fields that are left to null will be grab from parent window where possible.

Fields

#
title:?[:0]const u8

Usually displayed on the top of the window.

icon:?[]const u8

content of a PNG image (or any other format stb_image can load)

size:?dvui.Size

Initial size of the os window.

min_size:?dvui.Size

Set the minimum size of the window

max_size:?dvui.Size

Set the maximum size of the window

fullscreen:bool
bool
hidden:bool
bool