IconTheme.hasIcon

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

class IconTheme
int
hasIcon
(
string iconName
)

Parameters

iconName string

the name of an icon

Return Value

Type: int

TRUE if icon_theme includes an icon for icon_name.

Meta