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 moresource§impl Debug for GtkFontChooserIface
impl Debug for GtkFontChooserIface
impl Copy for GtkFontChooserIface
Auto Trait Implementations§
impl Freeze for GtkFontChooserIface
impl RefUnwindSafe for GtkFontChooserIface
impl !Send for GtkFontChooserIface
impl !Sync for GtkFontChooserIface
impl Unpin for GtkFontChooserIface
impl UnwindSafe for GtkFontChooserIface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more