StyleContext.hasClass

Returns TRUE if context currently has defined the given class name.

class StyleContext
bool
hasClass
(
string className
)

Parameters

className string

a class name

Return Value

Type: bool

TRUE if context has class_name defined

Meta