PowerKeys Scripting API
    Preparing search index...

    Interface TabGroupWrapper

    A tab-group container. Use AddTab to add named tabs, each with its own ContainerWrapper for further nested elements.

    interface TabGroupWrapper {
        AddTab: (
            name: string,
            builder?: (tab: ContainerWrapper) => void,
        ) => ContainerWrapper;
        Hide: () => void;
        Show: () => void;
        Destroy: () => void;
        SetText: (text: string) => void;
        SetStyle: (style: UIStyle) => void;
    }

    Hierarchy (View Summary)

    Index
    AddTab: (
        name: string,
        builder?: (tab: ContainerWrapper) => void,
    ) => ContainerWrapper

    Adds a tab with the given name and returns its container. Optionally pass a builder function to populate it immediately.

    Hide: () => void

    Hides the element without destroying it. Call Show() to make it visible again.

    Show: () => void

    Makes a previously hidden element visible again.

    Destroy: () => void

    Permanently removes the element from the UI panel.

    SetText: (text: string) => void

    Updates the element's display text when the element has a label.

    SetStyle: (style: UIStyle) => void

    Merges supported renderer style properties into the element; unsupported keys are ignored.