Skip to content

Class CyclingLayoutManager : LayoutManager

A LayoutManager that keeps track of layouts per tag and provides methods to cycle between them.

Fields

tag_indices

tag_indices: table<integer, integer>

Functions

method get_active

function CyclingLayoutManager:get_active(args: LayoutArgs)
    -> LayoutGenerator

Parameters

args: LayoutArgs

Returns

  1. LayoutGenerator

method cycle_layout_forward

function CyclingLayoutManager:cycle_layout_forward(tag: TagHandle)

Cycle the layout for the given tag forward.

Parameters

tag: TagHandle

method cycle_layout_backward

function CyclingLayoutManager:cycle_layout_backward(tag: TagHandle)

Cycle the layout for the given tag backward.

Parameters

tag: TagHandle