Trait gtk::prelude::StyleProviderExt [−][src]
pub trait StyleProviderExt: 'static {
fn style_property(
&self,
path: &WidgetPath,
state: StateFlags,
pspec: &ParamSpec
) -> Option<Value>;
}Expand description
Trait containing all StyleProvider methods.
Implementors
Required methods
fn style_property(
&self,
path: &WidgetPath,
state: StateFlags,
pspec: &ParamSpec
) -> Option<Value>
fn style_property(
&self,
path: &WidgetPath,
state: StateFlags,
pspec: &ParamSpec
) -> Option<Value>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