Lines Matching refs:Widget
13 widgets::{PivotType, Widget},
31 children: RefCell<Vec<Arc<dyn Widget>>>,
32 parent: RefCell<Option<Arc<dyn Widget>>>,
49 pub elements: RefCell<BTreeMap<(usize, usize), Arc<dyn Widget>>>,
53 pub focused_widget: RefCell<Option<Arc<dyn Widget>>>,
100 pub fn add_element<T: Widget>(&self, element: &Arc<T>) -> (usize, usize) { in add_element()
143 pub fn insert<T: Widget>(&self, column: usize, row: usize, element: &Arc<T>) { in insert()
242 impl Widget for Grid {
243 fn self_ref(&self) -> Arc<dyn Widget> { in self_ref() argument
267 fn parent(&self) -> &RefCell<Option<Arc<dyn Widget>>> { in parent() argument
271 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children() argument
309 fn focused_widget(&self) -> RefCell<Option<Arc<dyn Widget>>> { in focused_widget() argument
313 fn focus(&self, focused_widget: &Arc<dyn Widget>) { in focus() argument