FocusToggler

component fbx.ui.base.FocusToggler

An utility component that wraps a control for keyboard-based focus.

property editing

Whether component is currently in edition mode.

property control

Wrapped control. This is the default property.

property autoFocus

Whether editing mode is automatically entered when keyboard focus reaches the component.

method enterEditing()

Explicitly enter editing mode.

method leaveEditing()

Explicitly leave editing mode.

signal tryToLeave()

Emitted when user tries to leave editing mode while autoFocus is enabled.