Gtk.Style.prototype.has_context

function has_context():Boolean {
    // Gjs wrapper for gtk_style_has_context()
}

Returns whether style has an associated Gtk.StyleContext.

Since 3.0

Returns

true if style has a Gtk.StyleContext