set_parent


Description:

[ Version ( since = "3.4" ) ]
public void set_parent (StyleContext? parent)

Sets the parent style context for this.

The parent style context is used to implement [inheritance](http://www.w3.org/TR/css3-cascade/inheritance) of properties.

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

Parameters:

this

a StyleContext

parent

the new parent or null




2022 vala-language.org