pub fn register_event_with_strategy<E: Event + Send>(
        &mut self,
        event: E,
        strategy: EventStrategy,
        source: Entity,
    ) {
        self.event_queue
            .push(EventBox::new::<E>(event, strategy, source));
    }
/// Registers an event with a given event strategy and a source (Entity of a widget) where the event should start.
Registers an event with a given event strategy and a source (Entity of a widget) where the event should start.
Registers an event with a given event strategy and a source ( Entity of a widget ) where the event should start .
pub fn register_event_with_strategy<E: Event + Send>(
        &mut self,
        event: E,
        strategy: EventStrategy,
        source: Entity,
    ) {
        self.event_queue
            .push(EventBox::new::<E>(event, strategy, source));
    }
pub fn register_event_with_strategy < E : Event + Send > ( & mut self , event : E , strategy : EventStrategy , source : Entity , ) { self . event_queue . push ( EventBox :: new :: < E > ( event , strategy , source ) ) ; }
Registers an event with a given event strategy and a source (Entity of a widget) where the event should start.
Registers an event with a given event strategy and a source ( Entity of a widget ) where the event should start .
&mut self
event
E
strategy
EventStrategy
source
Entity