Gtk.StyleContext.prototype.set_parent

function set_parent(parent:Gtk.StyleContext):void {
    // Gjs wrapper for gtk_style_context_set_parent()
}

Sets the parent style context for context. The parent style context is used to implement <ulink url="http://www.w3.org/TR/css3-cascade/#inheritance">inheritance</ulink> of properties.

If you are using a Gtk.StyleContext returned from Gtk.get_style_context, the parent will be set for you.

Since 3.4

parent

the new parent or null