StyleContext.setParent
void setParent(gtk.style_context.StyleContext parent = null)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.
Parameters
parent | the new parent or null |