pub fn kiosk(wgt: &mut WidgetBuilding, kiosk: impl IntoValue<bool>)Expand description
B Lock-in kiosk mode.
In kiosk mode the only window states allowed are fullscreen or fullscreen exclusive, and all subsequent windows opened are child of the kiosk window.
Note that this does not configure the operating system, you still need to setup a kiosk environment. This just stops the app itself from accidentally exiting fullscreen.
ยงMixin Property
This property is a mixin, it modifies the widget builder during build, it does not produce a standalone UI node.