StyleContext.setParent

Sets the parent style context for context. The parent style context is used to implement inheritance

of properties.

If you are using a #GtkStyleContext returned from gtk.widget.Widget.getStyleContext, the parent will be set for you.

class StyleContext
void
setParent

Parameters

parent gtk.style_context.StyleContext

the new parent or null