DVUI

OsWindowWidget

Spawn a new OS Window

If not supported by the backend, a dvui.FloatingWindowWidget will be used as fallback.

This is not technically a widget (it doesn't conform to the interface) but is essentially a wrapping container around a heap allocated backend/dvui.Window, or around a FloatingWindowWidget in the fallback case.

See dvui.osWindow

Fields

#
inner:if (Backend.support_child_os_wins) *ChildOsWindow else *FloatingWindowWidget
if (Backend.support_child_os_wins) *ChildOsWindow else *FloatingWindowWidget

Types

#
ChildOsWindow

Thin wrapper allowing to heap allocate a new os window.

InitOptions

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

Functions

#
deinit

Close the child Os Window context, effectively rendering it.