Property

GtkEventControllerFocus:is-focus

Declaration

property is-focus: gboolean [ read ]

Description [src]

TRUE if focus is in the controllers widget itself, as opposed to in a descendent widget.

See also GtkEventControllerFocus:contains-focus.

When handling focus events, this property is updated before GtkEventControllerFocus::enter or GtkEventControllerFocus::leave are emitted.

Type:gboolean

Default valueFALSE
Getter methodgtk_event_controller_focus_is_focus()

Flags

Readableyes
Writableno
Constructno
Construct onlyno