pub trait StyleProviderExt: 'static {
    fn style_property(
        &self,
        path: &WidgetPath,
        state: StateFlags,
        pspec: impl AsRef<ParamSpec>
    ) -> Option<Value>; }
Expand description

Required Methods

Looks up a widget style property as defined by self for the widget represented by path.

path

WidgetPath to query

state

state to query the style property for

pspec

The glib::ParamSpec to query

Returns

true if the property was found and has a value, false otherwise

value

return location for the property value

Implementors