pub trait FontChooserImplExt: ObjectSubclass {
    // Required methods
    fn parent_font_family(
        &self,
        font_chooser: &Self::Type
    ) -> Option<FontFamily>;
    fn parent_font_face(&self, font_chooser: &Self::Type) -> Option<FontFace>;
    fn parent_font_size(&self, font_chooser: &Self::Type) -> i32;
    fn parent_set_filter_func(
        &self,
        font_chooser: &Self::Type,
        callback: Option<FilterCallback>
    );
    fn parent_set_font_map<P>(
        &self,
        font_chooser: &Self::Type,
        font_map: Option<&P>
    )
       where P: IsA<FontMap>;
    fn parent_font_map(&self, font_chooser: &Self::Type) -> Option<FontMap>;
    fn parent_font_activated(&self, font_chooser: &Self::Type, font_name: &str);
}

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§