Searched defs:Widget (Results 1 – 10 of 10) sorted by relevance
7 fn focused_widget(&self) -> RefCell<Option<Arc<dyn Widget>>>; in focused_widget()10 fn focus(&self, widget: &Arc<dyn Widget>); in focus()
44 pub trait Widget: Any { trait46 fn self_ref(&self) -> Arc<dyn Widget>; in self_ref()67 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>>; in children()70 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>>; in parent()73 fn add_child(&self, widget: Arc<dyn Widget>) { in add_child()
86 fn self_ref(&self) -> Arc<dyn Widget> { in self_ref()110 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children()114 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>> { in parent()
126 fn self_ref(&self) -> Arc<dyn Widget> { in self_ref()150 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>> { in parent()154 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children()
172 fn self_ref(&self) -> Arc<dyn Widget> { in self_ref()196 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>> { in parent()200 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children()227 fn focused_widget(&self) -> RefCell<Option<Arc<dyn Widget>>> { in focused_widget()231 fn focus(&self, focused_widget: &Arc<dyn Widget>) { in focus()
243 fn self_ref(&self) -> Arc<dyn Widget> { in self_ref()267 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>> { in parent()271 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children()309 fn focused_widget(&self) -> RefCell<Option<Arc<dyn Widget>>> { in focused_widget()313 fn focus(&self, focused_widget: &Arc<dyn Widget>) { in focus()
83 fn self_ref(&self) -> Arc<dyn Widget> { in self_ref()107 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>> { in parent()111 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children()
88 fn self_ref(&self) -> Arc<dyn Widget> { in self_ref()112 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>> { in parent()116 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children()
83 pub fn widget_set_panel(widget: &Arc<dyn Widget>, panel: &Arc<Panel>) { in widget_set_panel()
226 pub fn draw_widget(&self, renderer: &mut dyn Renderer, widget: &Arc<dyn Widget>) { in draw_widget()333 fn focused_widget(&self) -> RefCell<Option<Arc<dyn Widget>>> { in focused_widget()337 fn focus(&self, widget: &Arc<dyn Widget>) { in focus()