pub trait StyleContextExtManual: 'static {
fn get_font(&self, state: StateFlags) -> FontDescription;
}
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...
Loading content...