[][src]Trait gtk::prelude::StyleContextExtManual

pub trait StyleContextExtManual: 'static {
    fn get_font(&self, state: StateFlags) -> FontDescription;
}

Required methods

fn get_font(&self, state: StateFlags) -> FontDescription

Returns the font description for a given state. The returned object is const and will remain valid until the StyleContext::changed signal happens.

state

state to retrieve the font for

Returns

the pango::FontDescription for the given state.

Loading content...

Implementors

impl<O: IsA<StyleContext>> StyleContextExtManual for O[src]

Loading content...