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 Value

Type: bool

%TRUE if @self includes an icon for @icon_name.

Meta