[][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 to retrieve the font for


the pango::FontDescription for the given state.

Loading content...


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

Loading content...