IconTheme.hasIcon

bool hasIcon(string iconName)

Checks whether an icon theme includes an icon for a particular name.

Parameters

iconNamethe name of an icon

Returns

true if self includes an

icon for icon_name.