Gtk.IconTheme.prototype.has_icon
function has_icon(icon_name:String):Boolean { // Gjs wrapper for gtk_icon_theme_has_icon() }
Checks whether an icon theme includes an icon for a particular name.
Since 2.4
- icon_name
the name of an icon
- Returns
true if icon_theme includes an icon for icon_name.