Class KeyboardFocusScope
- Namespace
- Lime
- Assembly
- Lime.dll
Switches keyboard focus with Tab/Shift+Tab and makes the widget focused by mouse click.
public class KeyboardFocusScope
- Inheritance
-
KeyboardFocusScope
- Inherited Members
Constructors
KeyboardFocusScope(Widget)
public KeyboardFocusScope(Widget widget)
Parameters
widget
Widget
Fields
FocusNext
public readonly List<Key> FocusNext
Field Value
FocusPrevious
public readonly List<Key> FocusPrevious
Field Value
Widget
public readonly Widget Widget
Field Value
Properties
FocusOnMousePress
public bool FocusOnMousePress { get; set; }
Property Value
LastDirection
public KeyboardFocusScope.Direction LastDirection { get; }
Property Value
Methods
AdvanceFocus(Direction)
public void AdvanceFocus(KeyboardFocusScope.Direction direction)
Parameters
direction
KeyboardFocusScope.Direction
GetEnclosingScope(Widget)
public static KeyboardFocusScope GetEnclosingScope(Widget widget)
Parameters
widget
Widget
Returns
GetFirstFocusable()
public Widget GetFirstFocusable()
Returns
SetDefaultFocus()
public void SetDefaultFocus()