public class InputFocus
Handles input focus for Panels.
InputFocus()
Current
Panel
Next
static Boolean Set(Panel panel)
Set the focus to this panel (or its nearest ancestor with AcceptsFocus). Note that Current won't change until the next frame.
static Boolean Clear(Panel panel)
Clear focus away from this panel.
static Boolean Clear()
Clear keyboard focus
Sandbox.Engine
Sandbox.UI.InputFocus