pub unsafe trait ObjectClassSubclassExt: Sized + 'static {
fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
where
F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static,
{ ... }
}
Expand description
Extension trait for glib::Object
’s class struct.
This contains various class methods and allows subclasses to override signal class handlers.
Provided Methods
sourcefn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F) where