[][src]Trait gtk::StyleProviderExt

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

Trait containing all StyleProvider methods.

Implementors

CssProvider, Settings, StyleProperties, StyleProvider

Required methods

fn get_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 gobject::ParamSpec to query

value

return location for the property value

Returns

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

Loading content...

Implementors

impl<O: IsA<StyleProvider>> StyleProviderExt for O[src]

Loading content...