hl.dsp.window.fullscreen

hl.dsp.window.fullscreen(spec=None)

Create a window fullscreen dispatcher.

Signature

hl.dsp.window.fullscreen(spec?: table): HL.Dispatcher

Parameters

spectable, optional

Fullscreen options.

modestring, optional

Accepted values are fullscreen, maximized, 0 for fullscreen, and 1 for maximized. Defaults to fullscreen.

actionstring, optional

Accepted values are toggle, set, and unset. Defaults to toggle.

windowHL.WindowSelector, optional

Target window.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.dispatch(hl.dsp.window.fullscreen())
hl.dispatch(hl.dsp.window.fullscreen({ mode = "maximized", action = "set" }))