Gtk.Widget.prototype.unset_state_flags

function unset_state_flags(flags:Gtk.StateFlags):void {
    // Gjs wrapper for gtk_widget_unset_state_flags()
}

This function is for use in widget implementations. Turns off flag values for the current widget state (insensitive, prelighted, etc.). See Gtk.Widget.prototype.set_state_flags.

Since 3.0

flags

State flags to turn off