ShelfWidgetFocusPolicy

Whether the widget participates in shelf keyboard focus.

enum ShelfWidgetFocusPolicy

Forward-declared: current hosts do not yet cycle keyboard focus into external widgets, so keyboardFocusable is recorded but has no effect today. Declare it truthfully anyway; the wiring lands host-side without an SDK change.

Cases

ShelfWidgetFocusPolicy.none

case none

The widget never takes keyboard focus.

ShelfWidgetFocusPolicy.keyboardFocusable

case keyboardFocusable

The widget joins the shelf's keyboard focus cycle.