[ Version ( since = "3.0" ) ]
public Value get_property (string property, StateFlags state)
Gets a style property from this for the given state.
Note that not all CSS properties that are supported by GTK+ can be retrieved in this way, since they may not be representable as Value. GTK+ defines macros for a number of properties that can be used with this function.
Note that passing a state other than the current state of this is not recommended unless the style context has been saved with save.
When value
is no longer needed, unset must be called to free any allocated memory.
this | |
property |
style property name |
state |
state to retrieve the property value for |
value |
return location for the style property value |