Gtk.StyleContext.prototype.get_state

function get_state():Gtk.StateFlags {
    // Gjs wrapper for gtk_style_context_get_state()
}

Returns the state used when rendering.

Since 3.0

Returns

the state flags