pub fn push_event<E: Event + Send>(&self, entity: Entity, event: E) {
        self.event_queue
            .lock()
            .expect("EventAdapter::push_event: Cannot lock event queue.")
            .register_event(event, entity);

        self.redraw();
    }
/// Push an event to the tree starting by the given entity. The
/// event bubbles through the tree until it is handled.
Push an event to the tree starting by the given entity. The
event bubbles through the tree until it is handled.
Push an event to the tree starting by the given entity . The event bubbles through the tree until it is handled .
pub fn push_event<E: Event + Send>(&self, entity: Entity, event: E) {
        self.event_queue
            .lock()
            .expect("EventAdapter::push_event: Cannot lock event queue.")
            .register_event(event, entity);
        self.redraw();
    }
pub fn push_event < E : Event + Send > ( & self , entity : Entity , event : E ) { self . event_queue . lock ( ) . expect ( " " ) . register_event ( event , entity ) ; self . redraw ( ) ; }
Push an event to the tree starting by the given entity.
Push an event to the tree starting by the given entity .
&self
entity
Entity
event
E