Trait gobject_subclass::object::ObjectClassExt [−][src]
pub unsafe trait ObjectClassExt<T: ObjectBase> where
T::ImplType: ObjectImpl<T>, { fn override_vfuncs(&mut self, _: &ClassInitToken) { ... } fn install_properties(&mut self, properties: &[Property]) { ... } fn add_signal(&mut self, name: &str, arg_types: &[Type], ret_type: Type) { ... } 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, { ... } 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, { ... } }
Provided Methods
fn override_vfuncs(&mut self, _: &ClassInitToken)
fn install_properties(&mut self, properties: &[Property])
fn add_signal(&mut self, name: &str, arg_types: &[Type], ret_type: Type)
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,
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
accumulator: F
) where
F: Fn(&mut Value, &Value) -> bool + Send + Sync + 'static,
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,
&mut self,
name: &str,
arg_types: &[Type],
ret_type: Type,
handler: F
) where
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
Implementors
impl ObjectClassExt<Object> for ObjectClass