Trait gtk4::subclass::font_chooser::FontChooserImplExt
source · [−]pub trait FontChooserImplExt: ObjectSubclass {
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: IsA<FontMap>>(
&self,
font_chooser: &Self::Type,
font_map: Option<&P>
);
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
sourcefn parent_set_filter_func(
fn parent_set_filter_func(
&self,
font_chooser: &Self::Type,
callback: Option<FilterCallback>
)
sourcefn parent_set_font_map<P: IsA<FontMap>>(
fn parent_set_font_map<P: IsA<FontMap>>(
&self,
font_chooser: &Self::Type,
font_map: Option<&P>
)
source
fn parent_font_map(&self, font_chooser: &Self::Type) -> Option<FontMap>
source