GE Lua Documentation

Press F to search!

BeginPopupContextItem

Definition


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

Callers

@/lua/ge/extensions/editor/crawlEditor/trails.lua
    -- Right-click context menu
    if im.BeginPopupContextItem("trail_context_" .. i) then
      if im.MenuItem1("Delete") then
@/lua/ge/extensions/editor/crawlEditor/boundaries.lua
    -- Right-click context menu
    if im.BeginPopupContextItem("boundary_context_" .. i) then
      if im.MenuItem1("Delete") then
@/lua/ge/extensions/editor/crawlEditor/paths.lua
    -- Right-click context menu
    if im.BeginPopupContextItem("path_context_" .. i) then
      if im.MenuItem1("Delete") then
@/lua/ge/extensions/editor/crawlEditor/startingPositions.lua
    -- Right-click context menu
    if im.BeginPopupContextItem("starting_position_context_" .. i) then
      if im.MenuItem1("Delete") then
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
function M.CloseCurrentPopup() imgui.CloseCurrentPopup() end
function M.BeginPopupContextItem(string_str_id, ImGuiPopupFlags_popup_flags)
  -- string_str_id is optional and can be nil
  if ImGuiPopupFlags_popup_flags == nil then ImGuiPopupFlags_popup_flags = 1 end
  return imgui.BeginPopupContextItem(string_str_id, ImGuiPopupFlags_popup_flags)
end