Skip to content

Bases: Event

Sent when a widget is focussed.

  • Bubbles
  • Verbose

Parameters:

Name Type Description Default

from_app_focus

bool

True if this focus event has been sent because the app itself has regained focus (via an AppFocus event). False if the focus came from within the Textual app (e.g. via the user pressing tab or a programmatic setting of the focused widget).

False

See also