Struct gtk4_sys::GtkFontChooserIface
source · #[repr(C)]pub struct GtkFontChooserIface {
pub base_iface: GTypeInterface,
pub get_font_family: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFamily>,
pub get_font_face: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFace>,
pub get_font_size: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> c_int>,
pub set_filter_func: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: GtkFontFilterFunc, _: gpointer, _: GDestroyNotify)>,
pub font_activated: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *const c_char)>,
pub set_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *mut PangoFontMap)>,
pub get_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontMap>,
pub padding: [gpointer; 10],
}Fields§
§base_iface: GTypeInterface§get_font_family: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFamily>§get_font_face: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFace>§get_font_size: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> c_int>§set_filter_func: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: GtkFontFilterFunc, _: gpointer, _: GDestroyNotify)>§font_activated: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *const c_char)>§set_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *mut PangoFontMap)>§get_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontMap>§padding: [gpointer; 10]Trait Implementations§
source§impl Clone for GtkFontChooserIface
impl Clone for GtkFontChooserIface
source§fn clone(&self) -> GtkFontChooserIface
fn clone(&self) -> GtkFontChooserIface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more