Gtk.NumerableIcon.prototype.set_background_icon_name
function set_background_icon_name(icon_name:String):void {
// Gjs wrapper for gtk_numerable_icon_set_background_icon_name()
}Updates the icon to use the icon named icon_name from the current icon theme as the base background image. If icon_name is null, self will go back using style information or default theming for its background image.
If this method is called and a Gio.Icon was already set as background for the icon, icon_name will be used, i.e. the last method called between Gtk.NumerableIcon.prototype.set_background_icon_name and Gtk.NumerableIcon.prototype.set_background_gicon has always priority.
Since 3.0
- icon_name
an icon name, or null