Gtk.Widget.prototype.override_background_color

function override_background_color(state:Gtk.StateFlags, color:Gdk.RGBA):void {
    // Gjs wrapper for gtk_widget_override_background_color()
}

Sets the background color to use for a widget.

All other style values are left untouched. See Gtk.override_color.

Since 3.0

state

the state for which to set the background color

color

the color to assign, or null to undo the effect of previous calls to Gtk.Widget.prototype.override_background_color