Gtk.StyleContext.prototype.get_parent

function get_parent():Gtk.StyleContext {
    // Gjs wrapper for gtk_style_context_get_parent()
}

Gets the parent context set via Gtk.set_parent. See that function for details.

Since 3.4

Returns

the parent context or null