Trait EventControllerExt

Source
pub trait EventControllerExt: 'static {
    // Required methods
    fn get_propagation_phase(&self) -> PropagationPhase;
    fn get_widget(&self) -> Option<Widget>;
    fn handle_event(&self, event: &Event) -> bool;
    fn reset(&self);
    fn set_propagation_phase(&self, phase: PropagationPhase);
    fn connect_property_propagation_phase_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§