GE Lua Documentation

Press F to search!

SetKeyboardFocusHere

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:1059
function M.SetKeyboardFocusHere(int_offset)
  if int_offset == nil then int_offset = 0 end
  imgui.SetKeyboardFocusHere(int_offset)
end

Callers

@/lua/common/extensions/ui/flowgraph/editor.lua
    --if not vehSearchFocus then
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --im.SetKeyboardFocusHere()
      --vehSearchFocus = true
@/lua/ge/extensions/editor/createObjectTool.lua
local function drawTextFilter()
  -- This is a little hack because SetKeyboardFocusHere() doesnt work when you call it only once.
  -- We call it, until the text input has focus
  if focusTextInput then
    imgui.SetKeyboardFocusHere()
  end
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua

  -- This is a little hack because SetKeyboardFocusHere() doesnt work when you call it only once.
  -- We call it, until the text input has focus
  if self.focusTextInput then
    im.SetKeyboardFocusHere()
  end
@/lua/ge/extensions/ui/console.lua

      if mustFocusKeyboard then im.SetKeyboardFocusHere() end
      im.PushItemWidth(im.GetContentRegionAvailWidth() - 70 * uiScale)
          --im.SetItemDefaultFocus()
          --im.SetKeyboardFocusHere(-1)
          ::skipcmd::
@/lua/ge/extensions/editor/flowgraph/properties.lua
    end
    if changed then im.SetKeyboardFocusHere() end
    if item.customName then
@/lua/ge/extensions/editor/sceneTree.lua
        if node.setFocus then
          imgui.SetKeyboardFocusHere()
        end
@/lua/ge/extensions/editor/flowgraph/search.lua
  if self.focusSearch and self.focusSearch > 0 then
    im.SetKeyboardFocusHere()
    self.focusSearch = self.focusSearch -1
@/lua/ge/extensions/editor/flowgraph/variables.lua
      if not self.addVariableSettings.focussed or self.addVariableSettings.focussed<2  then
        im.SetKeyboardFocusHere()
        self.addVariableSettings.focussed = (self.addVariableSettings.focussed or 0) +1
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if int_offset == nil then int_offset = 0 end
  imgui.SetKeyboardFocusHere(int_offset)
end
@/lua/ge/extensions/editor/forestEditor.lua
    if var.highlightInputText == true then
      im.SetKeyboardFocusHere()
      var.highlightInputText = false
@/lua/ge/extensions/editor/flowgraph/examples.lua
  if self.focusSearch and self.focusSearch > 0 then
    im.SetKeyboardFocusHere()
    self.focusSearch = self.focusSearch -1
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua
    end
    --im.SetKeyboardFocusHere(0)
    im.Separator()
@/lua/ge/extensions/editor/rallyEditor/pacenotes/pacenoteForm.lua
  if pacenoteToolsState.insertMode then
    im.SetKeyboardFocusHere()
    pacenoteToolsState.insertMode = false