GE Lua Documentation

Press F to search!

DockSpace

Definition


-- @/=[C]:-1
function DockSpace(...)

Callers

@/lua/ge/extensions/editor/flowgraph/main.lua
    if not self.fgEditor.dockspaces["NE_Main_Dockspace"] then self.fgEditor.dockspaces["NE_Main_Dockspace"] = im.GetID1("NE_Main_Dockspace") end
    im.DockSpace(self.fgEditor.dockspaces["NE_Main_Dockspace"], im.ImVec2(0, 0), im.DockNodeFlags_None)
    im.EndChild()
@/lua/ge/extensions/editor/api/gui.lua
    -- init the dockspace
    imgui.DockSpace(imgui.GetID1("MainDockspace1"), imgui.ImVec2(0, 0), imgui.DockNodeFlags_PassthruCentralNode)
    imgui.End()
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
end
function M.DockSpace(ImGuiID_id, ImVec2_size, ImGuiDockNodeFlags_flags, ImGuiWindowClass_window_class)
  if ImVec2_size == nil then ImVec2_size = M.ImVec2(0,0) end
  -- ImGuiWindowClass_window_class is optional and can be nil
  return imgui.DockSpace(ImGuiID_id, ImVec2_size, ImGuiDockNodeFlags_flags, ImGuiWindowClass_window_class)
end