hl.dsp.window.cycle_next

hl.dsp.window.cycle_next(spec?: table)

Create a dispatcher.

Signature

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

Parameters

nextboolean, optional

Whether to cycle forward. Defaults to true.

tiledboolean, optional

Restrict by tiled state.

floatingboolean, optional

Restrict by floating state.

windowHL.WindowSelector, optional

Target window.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.dispatch(hl.dsp.window.cycle_next({ next = false, tiled = true }))

See also

HL.Dispatcher

Dispatcher object returned by this function.

hl.bind()

Bind a dispatcher to a key.

hl.dispatch()

Execute a dispatcher immediately.