Widget.getState

Returns the widget’s state. See [gtk.widget.Widget.setState].

Returns

the state of widget.

Deprecated

Use [gtk.widget.Widget.getStateFlags] instead.