StyleContext.hasClass

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

More...
class StyleContext
bool
hasClass
(
string className
)

Parameters

className string

a class name

Return Value

Type: bool

true if context has class_name defined

Detailed Description

Deprecated: Use gtk.widget.Widget.hasCssClass instead