Gtk.Widget.prototype.get_state

function get_state():Gtk.StateType {
    // Gjs wrapper for gtk_widget_get_state()
}

Returns the widget's state. See Gtk.set_state.

Since 2.18

Returns

the state of widget.