Gtk.StyleContext.prototype.set_state

function set_state(flags:Gtk.StateFlags):void {
    // Gjs wrapper for gtk_style_context_set_state()
}

Sets the state to be used when rendering with any of the gtk_render_*() functions.

Since 3.0

flags

state to represent