Skip to content

DescendantFocus

The DescendantFocus event is sent to a widget when one of its descendants receives focus.

  • Bubbles
  • Verbose

Attributes

No other attributes

Code

textual.events.DescendantFocus class

Bases: Event

Sent when a child widget is focussed.

  • Bubbles
  • Verbose

control property

control: Widget

The widget that was focused (alias of widget).

widget instance-attribute

widget: Widget

The widget that was focused.

See also