GE Lua Documentation

Press F to search!

BeginTabBar

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:984
function M.BeginTabBar(string_str_id, ImGuiTabBarFlags_flags)
  if ImGuiTabBarFlags_flags == nil then ImGuiTabBarFlags_flags = 0 end
  if string_str_id == nil then log("E", "", "Parameter 'string_str_id' of function 'BeginTabBar' cannot be nil, as the c type is 'const char *'") ; return end
  return imgui.BeginTabBar(string_str_id, ImGuiTabBarFlags_flags)
end

Callers

@/lua/ge/extensions/editor/dynamicDecals/browser.lua
  if editor.beginWindow(toolDecalTexturesBrowserWindowName, "Dynamic Decals Tool - Browser") then
    if im.BeginTabBar("BrowserTabBar") then
      for k, tab in ipairs(tabs) do
@/lua/ge/extensions/editor/meshSpline.lua
      local selectedTab = 0 -- Default to first tab.
      if im.BeginTabBar("MeshSplineTabs") then
        if im.BeginTabItem("Components") then
@/lua/ge/extensions/editor/rendererComponents.lua

  if im.BeginTabBar("settings") then
    for _, tabName in pairs(tabNames) do

    if im.BeginTabBar("settings") then
      -- if im.BeginTabItem("Bloom", nil, im.TabItemFlags_None) then
@/lua/ge/extensions/editor/trafficManager.lua

    if im.BeginTabBar("Vehicles Tab##trafficManager") then
      if im.BeginTabItem("Vehicle Selector##trafficManager") then
@/lua/ge/extensions/editor/resourceChecker.lua
    if resExplorer and resExplorer[1] == 10 and resExplorer[5] == 1 then
      if im.BeginTabBar("tabsAssets") then
        if im.BeginTabItem("Overview", nil, im.TabItemFlags_None) then

    if im.BeginTabBar("tabs") then
      if im.BeginTabItem("Materials Verification", nil, im.TabItemFlags_None) then
@/lua/ge/extensions/editor/decalSpline.lua
      selectedComponentTab = min(max(1, selectedComponentTab), #enabledComponents)
      if im.BeginTabBar("decalComponentTabs") then
        for _, compIdx in ipairs(enabledComponents) do
@/lua/ge/extensions/editor/forestEditor.lua

    if im.BeginTabBar("ForestEditorTabBar") then
      if im.BeginTabItem("Brushes##Tab") then
@/lua/ge/extensions/editor/sitesEditor.lua

    if im.BeginTabBar("modes") then
      for _, window in ipairs(windows) do
@/lua/ge/extensions/util/screenshotCreator.lua
    if isRunning then im.BeginDisabled() end
    if im.BeginTabBar("main Menu##") then
      if im.BeginTabItem('Output') then
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veFlexbodyDebug.lua
  if im.Begin(wndName, windowOpen, mainWndFlags) then
    if im.BeginTabBar("##tabs") then
      if im.BeginTabItem("Single Flexmesh") then
@/lua/ge/extensions/editor/biomeTool.lua
  imgui.PushStyleVar2(imgui.StyleVar_FramePadding, framePadding)--imgui.ImVec2(imgui.GetFontSize(), imgui.GetFontSize()))
  if imgui.BeginTabBar("BiomeToolTabBar") then
    if imgui.BeginTabItem("Level Biome##Tab") then
@/lua/ge/extensions/editor/missionEditor.lua
    displayHeader(clickedMission, hoveredMission, shownMission)
    if im.BeginTabBar('MissionEditorTabBar##') then
      local selectTab = nil
@/lua/ge/extensions/editor/sidewalkSpline.lua
      local selectedTab = 0 -- Default to first tab.
      if im.BeginTabBar("SidewalkSplineTabs") then
        if im.BeginTabItem("Sidewalk Kit") then
@/lua/ge/extensions/editor/particleEditor.lua

  if im.BeginTabBar("particle editor##") then
    local flags = editor.isDataBlockDirty(currentEmitter) and im.TabItemFlags_UnsavedDocument or 0
@/lua/ge/extensions/editor/masterSpline.lua
      local selectedTab = 0 -- Default to first tab.
      if im.BeginTabBar("MasterSplineTabs") then
        if im.BeginTabItem("Layers") then
@/lua/ge/extensions/editor/dataBlockEditor.lua
      windowPos = im.GetWindowPos()
      if im.BeginTabBar("dataBlockEditor##") then
        local inExistingTab = false
@/lua/ge/extensions/editor/assemblySpline.lua
      local selectedTab = 0 -- Default to first tab.
      if im.BeginTabBar("AssemblySplineTabs") then
        if im.BeginTabItem("Assembly Kit") then
@/lua/ge/extensions/editor/roadArchitect.lua
    local selectedTab = nil
    if im.BeginTabBar("Tooltabs1") then
      if im.BeginTabItem("Roads") then
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veJBeamPicker.lua
    im.Spacing()
    if im.BeginTabBar("##tabs") then
      if im.BeginTabItem("Nodes") then
@/lua/ge/extensions/editor/raceEditor.lua
    end
    if im.BeginTabBar("modes") then
      for _, window in ipairs(windows) do
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if string_str_id == nil then log("E", "", "Parameter 'string_str_id' of function 'BeginTabBar' cannot be nil, as the c type is 'const char *'") ; return end
  return imgui.BeginTabBar(string_str_id, ImGuiTabBarFlags_flags)
end
@/lua/ge/extensions/editor/flowgraph/legend.lua
  self:Begin(self.windowName)
  im.BeginTabBar("LegendTest", im.TabBarFlags_Reorderable)
  local itms = {}
@/lua/ge/extensions/editor/rallyEditor.lua
      im.BeginChild1("##tabs-child", nil, im.WindowFlags_ChildWindow and im.ImGuiWindowFlags_NoBorder )
      if im.BeginTabBar("modes") then
        for _, window in ipairs(windows) do
@/lua/ge/extensions/editor/visualization.lua
    local tabNo = 1
    if im.BeginTabBar("decal editor##") then
      if im.BeginTabItem("Debug") then
@/lua/ge/extensions/editor/driftDataEditor.lua

      if im.BeginTabBar("mp_tabs##") then
        if im.BeginTabItem("Drift stunt zones editor") then
@/lua/ge/extensions/gameplay/statistic.lua
  if( im.Begin("gameplay_statistic Debugger", windowOpen) ) then
    if im.BeginTabBar("shapeeditor##") then
      if im.BeginTabItem("module") then
@/lua/ge/extensions/editor/shapeEditor.lua
    im.PopStyleColor()
    if im.BeginTabBar("shapeeditor##") then
      if im.BeginTabItem("Details") then
@/lua/ge/extensions/editor/vehicleEditor/veToolbar.lua
  if editor.beginWindow(toolbarWindowName, toolbarWindowName, toolbarFlags, true) then
    if im.BeginTabBar("##tabs") then
      local staticEditorFlag, liveEditorFlag = 0, 0
@/lua/ge/extensions/editor/roadSpline.lua
      local selectedTab = 0 -- Default to first tab.
      if im.BeginTabBar("RoadSplineTabs") then
        if im.BeginTabItem("Layers") then
@/lua/ge/extensions/editor/decalEditor.lua

    if im.BeginTabBar("decal editor##") then
      if im.BeginTabItem("Templates") then
@/lua/ge/extensions/editor/trafficSignalsEditor.lua

    if im.BeginTabBar("Controller Definition Tabs##ctrlDefinitions") then
      if im.BeginTabItem("Types") then

    if im.BeginTabBar("Signal Tools") then
      if im.BeginTabItem("Signals", nil, tabFlags[1]) then
@/lua/ge/extensions/editor/trafficDebug.lua

    if im.BeginTabBar("Traffic Debug Modes") then
      if im.BeginTabItem("General", nil) then
@/lua/ge/extensions/editor/assetManagementTool.lua
  if editor.beginWindow(toolWindowName, "Asset Management Tool") then
    if imgui.BeginTabBar("AssetActions") then
      if devMode then
@/lua/ge/extensions/editor/dynamicDecals/fonts.lua
  if editor.beginWindow(fontPreviewWindowName, "Dynamic Decals Font - Preview") then
    if im.BeginTabBar("FontPreviewTab") then
      local header = fontAtlasData["header"]
@/lua/ge/extensions/editor/aiTests.lua
  if editor.beginWindow(toolWindowName, toolWindowName) then
    if im.BeginTabBar("AI Test Modes") then
      if im.BeginTabItem("Route") then