[ Version ( since = "1.6" ) ]
public unowned VectorValue get_global_state (string key)
Gets a global state value.
If the value has not been set with [method@VectorRenderer.set_global_state], the default defined in the style will be returned, or null if no default is defined. Note that an explicitly set null value will return a [struct@VectorValue] of type null, while an undefined value will return null.
| this |
a [class@VectorRenderer] |
| key |
the state key |
|
the state value, or null if none is set |