StyleContext.hasClass

Returns TRUE if context currently has defined the given class name

class StyleContext
int
hasClass
(
string className
)

Parameters

className string

a class name

Return Value

Type: int

TRUE if context has class_name defined Since 3.0

Meta