@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface PickButtonOptions

    Options accepted by toPickButton.

    interface PickButtonOptions {
        location?: number;
        toggled?: boolean;
        tooltip?: string;
    }
    Index
    location?: number

    Where the button is rendered (default: the title bar).

    Ignored for buttons attached to an item via PickItemDisplay.buttons — VS Code always renders those inline on the item itself.

    toggled?: boolean

    Makes this a toggle button with the given initial checked state.

    VS Code updates checked in place on the returned button before firing its trigger event, so read the state back off the same button object inside the handler rather than tracking it separately.

    tooltip?: string

    Tooltip shown when hovering over the button.