pub unsafe trait ObjectClassSubclassExt: Sized + 'static {
    // Provided method
    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§

source

fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
where F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static,

Object Safety§

This trait is not object safe.

Implementors§