pub trait FontChooserImpl: ObjectImpl {
    // Provided methods
    fn font_family(&self, font_chooser: &Self::Type) -> Option<FontFamily> { ... }
    fn font_face(&self, font_chooser: &Self::Type) -> Option<FontFace> { ... }
    fn font_size(&self, font_chooser: &Self::Type) -> i32 { ... }
    fn set_filter_func(
        &self,
        font_chooser: &Self::Type,
        callback: Option<FilterCallback>
    ) { ... }
    fn set_font_map<P>(&self, font_chooser: &Self::Type, font_map: Option<&P>)
       where P: IsA<FontMap> { ... }
    fn font_map(&self, font_chooser: &Self::Type) -> Option<FontMap> { ... }
    fn font_activated(&self, font_chooser: &Self::Type, font_name: &str) { ... }
}

Provided Methods§

source

fn font_family(&self, font_chooser: &Self::Type) -> Option<FontFamily>

source

fn font_face(&self, font_chooser: &Self::Type) -> Option<FontFace>

source

fn font_size(&self, font_chooser: &Self::Type) -> i32

source

fn set_filter_func( &self, font_chooser: &Self::Type, callback: Option<FilterCallback> )

source

fn set_font_map<P>(&self, font_chooser: &Self::Type, font_map: Option<&P>)where P: IsA<FontMap>,

source

fn font_map(&self, font_chooser: &Self::Type) -> Option<FontMap>

source

fn font_activated(&self, font_chooser: &Self::Type, font_name: &str)

Implementors§