Trait gtk::prelude::FontChooserExt [] [src]

pub trait FontChooserExt {
    fn get_font(&self) -> Option<String>;
    fn get_font_desc(&self) -> Option<FontDescription>;
    fn get_font_face(&self) -> Option<FontFace>;
    fn get_font_family(&self) -> Option<FontFamily>;
    fn get_font_map(&self) -> Option<FontMap>;
    fn get_font_size(&self) -> i32;
    fn get_preview_text(&self) -> Option<String>;
    fn get_show_preview_entry(&self) -> bool;
    fn set_font(&self, fontname: &str);
    fn set_font_desc(&self, font_desc: &FontDescription);
    fn set_font_map<'a, P: Into<Option<&'a FontMap>>>(&self, fontmap: P);
    fn set_preview_text(&self, text: &str);
    fn set_show_preview_entry(&self, show_preview_entry: bool);
    fn connect_font_activated<F: Fn(&Self, &str) + 'static>(&self, f: F) -> u64;
}

Required Methods

Implementors