ThemingEngine.getProperty

void getProperty(string property, gtk.types.StateFlags state, out gobject.value.Value value)

Gets a property value as retrieved from the style settings that apply to the currently rendered element.

Parameters

propertythe property name
statestate to retrieve the value for
valuereturn location for the property value, you must free this memory using [gobject.value.Value.unset] once you are done with it.