Trait gtk4::subclass::font_chooser::FontChooserImpl
source · [−]pub trait FontChooserImpl: ObjectImpl {
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) { ... }
}
Provided Methods
source
fn font_family(&self, font_chooser: &Self::Type) -> Option<FontFamily>
sourcefn set_filter_func(
fn set_filter_func(
&self,
font_chooser: &Self::Type,
callback: Option<FilterCallback>
)
source