kernl API
    Preparing search index...

    Interface LayoutRegistry

    The layouts a window manager offers, in the order the shell lists them.

    interface LayoutRegistry {
        get(id: string): LayoutEntry | undefined;
        list(): readonly LayoutEntry[];
        register(entry: LayoutEntry): void;
    }
    Index
    • The layout with this id, if there is one.

      Parameters

      • id: string

      Returns LayoutEntry | undefined

    • Add a layout.

      Parameters

      Returns void

      invalid:duplicate-layout when the id is taken.