Atomic docs

imgui.BeginTabItem

imgui.BeginTabItem(label: string, open: boolean?): (boolean, boolean)

One tab. Returns whether it is the selected tab and, when open was passed, whether its close button was used.

Example

lua
if imgui.BeginTabBar("tabs") then
    if imgui.BeginTabItem("aim") then
        imgui.Text("aim settings")
        imgui.EndTabItem()
    end
    imgui.EndTabBar()
end
↑