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: IsA<FontMap>>(
&self,
font_chooser: &Self::Type,
font_map: Option<&P>
) { ... }
fn font_map(&self, font_chooser: &Self::Type) -> Option<FontMap> { ... }
fn font_activated(&self, font_chooser: &Self::Type, font_name: &str) { ... }
}