hl.dsp.group.lock_active

hl.dsp.group.lock_active(spec?: table)

Lock or unlock the active group.

Signature

hl.dsp.group.lock_active(spec?: table): HL.Dispatcher

Parameters

spectable, optional

Toggle-action table.

windowHL.WindowSelector, optional

Target window where supported.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.dispatch(hl.dsp.group.lock_active({ action = "toggle" }))

Notes

See also

HL.Dispatcher

Dispatcher object returned by this function.

hl.bind()

Bind a dispatcher to a key.

hl.dispatch()

Execute a dispatcher immediately.