Gtk.Widget.prototype.get_style_context

function get_style_context():Gtk.StyleContext {
    // Gjs wrapper for gtk_widget_get_style_context()
}

Returns the style context associated to widget.

Returns

a Gtk.StyleContext. This memory is owned by widget and must not be freed.