Searched refs:events (Results 1 – 5 of 5) sorted by relevance
71 events: RefCell<Vec<Event>>, field86 events: RefCell::new(Vec::new()), in new()164 self.events.borrow_mut().push(event); in send_event()168 pub fn send_events(&self, mut events: Vec<Event>) { in send_events()169 self.events.borrow_mut().append(&mut events); in send_events()174 while let Some(event) = self.events.borrow_mut().pop() { in handle_all_events()
86 let mut events: Vec<Event> = Vec::new(); in handle() localVariable92 events.push(ButtonEvent::new(packet).to_event()); in handle()116 events.push( in handle()127 return events; in handle()
74 let events = self.handle(buf[i]); in polling() localVariable75 window_manager().unwrap().send_events(events); in polling()
93 events: RefCell<Vec<Event>>, field118 events: RefCell::new(Vec::new()), in from_window()278 while let Some(event) = self.events.borrow_mut().pop() { in handle_events()295 self.events.borrow_mut().push(event); in push_event()
44 pub events: Vec<Event>, field63 events: Vec::new(), in new()