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.
- window
HL.WindowSelector, optional Target window.
Returns¶
- dispatcher
HL.Dispatcher Dispatcher object returned by this function.
Examples¶
hl.dispatch(hl.dsp.window.cycle_next({ next = false, tiled = true }))
See also¶
HL.DispatcherDispatcher object returned by this function.
hl.bind()Bind a dispatcher to a key.
hl.dispatch()Execute a dispatcher immediately.