Skip to content

Class Layout

Fields

stream nullable

stream?: grpc_client.h2.Stream

builtins

builtins = builtins

Functions

function set_manager

function Layout.set_manager(manager: LayoutManager)

Set the layout manager for this config.

It will manage layout requests from the compositor.

Only one layout manager can manage layouts at a time.

Parameters

manager: LayoutManager

function request_layout

function Layout.request_layout(output?: OutputHandle)

Request a layout on the given output, or the focused output if nil.

If no LayoutManager was set, this will do nothing.

Parameters

output?: OutputHandle

function new_cycling_manager

function Layout.new_cycling_manager(layouts: LayoutGenerator[])
    -> CyclingLayoutManager

Create a new cycling layout manager.

Parameters

layouts: LayoutGenerator[]

Returns

  1. CyclingLayoutManager

See also