GE Lua Documentation

Press F to search!

IsPopupOpen

Definition


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

Callers

@/lua/common/extensions/ui/imgui_gen_luaintf.lua
end
function M.IsPopupOpen(string_str_id, ImGuiPopupFlags_flags)
  if ImGuiPopupFlags_flags == nil then ImGuiPopupFlags_flags = 0 end
  if string_str_id == nil then log("E", "", "Parameter 'string_str_id' of function 'IsPopupOpen' cannot be nil, as the c type is 'const char *'") ; return end
  return imgui.IsPopupOpen(string_str_id, ImGuiPopupFlags_flags)
end
@/lua/ge/extensions/editor/mainToolbar.lua
    -- EDIT MODE SELECTION BUTTON
    local popupOpen = im.IsPopupOpen("EditModeSetsPopup")
    local icon = popupOpen and editor.icons.keyboard_arrow_down or editor.icons.menu