Type Alias ObjectClass

Source
pub type ObjectClass = ClassStruct<Object>;

Aliased Type§

#[repr(C)]
pub struct ObjectClass { pub parent: GObjectClass, pub imp_static: NonNull<Box<dyn ImplTypeStatic<Object>>>, pub parent_class: NonNull<GObjectClass>, pub interfaces_static: *const Vec<(usize, *mut c_void)>, }

Fields§

§parent: GObjectClass§imp_static: NonNull<Box<dyn ImplTypeStatic<Object>>>§parent_class: NonNull<GObjectClass>§interfaces_static: *const Vec<(usize, *mut c_void)>

Trait Implementations§

Source§

impl ObjectClassExt<Object> for ObjectClass

Source§

fn override_vfuncs(&mut self, _: &ClassInitToken)

Source§

fn install_properties(&mut self, properties: &[Property<'_>])

Source§

fn add_signal(&mut self, name: &str, arg_types: &[Type], ret_type: Type)

Source§

fn add_signal_with_accumulator<F>( &mut self, name: &str, arg_types: &[Type], ret_type: Type, accumulator: F, )
where F: Fn(&mut Value, &Value) -> bool + Send + Sync + 'static,

Source§

fn add_action_signal<F>( &mut self, name: &str, arg_types: &[Type], ret_type: Type, handler: F, )
where F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,