Style.hasContext

bool hasContext()

Returns whether style has an associated #GtkStyleContext.

Returns

true if style has a #GtkStyleContext