IconTheme.hasIcon

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

class IconTheme
bool
hasIcon
(
string iconName
)

Parameters

iconName string

the name of an icon

Return: %TRUE if @icon_theme includes an icon for @icon_name.

Meta