GE Lua Documentation

Press F to search!

Selectable2

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:769
function M.Selectable2(string_label, bool_p_selected, ImGuiSelectableFlags_flags, ImVec2_size)
  if ImGuiSelectableFlags_flags == nil then ImGuiSelectableFlags_flags = 0 end
  if ImVec2_size == nil then ImVec2_size = M.ImVec2(0,0) end
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'Selectable2' cannot be nil, as the c type is 'const char *'") ; return end
  if bool_p_selected == nil then log("E", "", "Parameter 'bool_p_selected' of function 'Selectable2' cannot be nil, as the c type is 'bool *'") ; return end
  return imgui.Selectable2(string_label, bool_p_selected, ImGuiSelectableFlags_flags, ImVec2_size)
end

Callers

@/lua/ge/extensions/util/screenshotCreator.lua
                if not v[2][0] then
                  im.Selectable2(v[3] .. " (" ..v[1] .. ")",v[2])
                end
                if v[2][0] then
                  im.Selectable2(v[3] .. " (" ..v[1] .. ")",v[2])
                end
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if bool_p_selected == nil then log("E", "", "Parameter 'bool_p_selected' of function 'Selectable2' cannot be nil, as the c type is 'bool *'") ; return end
  return imgui.Selectable2(string_label, bool_p_selected, ImGuiSelectableFlags_flags, ImVec2_size)
end