API reference
Preparing search index…

ImGui.BeginTabItem

  • Begin a tab item and report whether it is selected.

    Parameters

    label
    string | Uint8Array

    Widget label; interactive widgets also use it for ID generation. A ## suffix can distinguish IDs without displaying the suffix.

    p_open
    null | Uint8Array = null

    Optional open state in Uint8Array[0]. Write only 0 (closed) or 1 (open); the close button writes 0. Null omits the close button. The native call accesses this writable backing memory directly.

    flags
    number = 0

    ImGuiTabItemFlags options controlling this operation; combine compatible flag bits with |.

    Returns

    boolean

    True when the tab is selected and its contents should be submitted, not merely when the tab exists. Call EndTabItem() only when true.

    create a Tab.

    Returns true if the Tab is selected.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0