Searched refs:children (Results 1 – 9 of 9) sorted by relevance
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | asset_item_grid.rs | 30 children: RefCell<Vec<Arc<dyn Widget>>>, field 48 children: RefCell::new(Vec::new()), in new() 116 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children() method 117 &self.children in children() 129 let children = self.children.borrow_mut(); in draw() localVariable 130 let bg_image = children[0].self_ref(); in draw() 142 for child in self.children.borrow().iter() { in draw()
|
H A D | asset_item_list.rs | 25 children: RefCell<Vec<Arc<dyn Widget>>>, field 42 children: RefCell::new(Vec::new()), in new() 111 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children() method 112 &self.children in children() 124 for child in self.children.borrow().iter() { in draw()
|
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | image.rs | 23 children: RefCell<Vec<Arc<dyn Widget>>>, field 49 children: RefCell::new(vec![]), in new_from_image() 110 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children() method 111 &self.children in children()
|
H A D | label.rs | 35 children: RefCell<Vec<Arc<dyn Widget>>>, field 56 children: RefCell::new(vec![]), in new() 154 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children() method 155 &self.children in children()
|
H A D | mod.rs | 67 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>>; in children() method 74 self.children().borrow_mut().push(widget.clone()); in add_child() 139 for child in self.children().borrow_mut().iter() { in arrange_all()
|
/StarryEngine/starry_toolkit/src/layout/ |
H A D | grid.rs | 31 children: RefCell<Vec<Arc<dyn Widget>>>, field 67 children: RefCell::new(vec![]), in new() 235 self.children.borrow_mut().clear(); in clear() 271 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children() method 272 &self.children in children()
|
H A D | list.rs | 36 children: RefCell<Vec<Arc<dyn Widget>>>, field 57 children: RefCell::new(vec![]), in new() 200 fn children(&self) -> &RefCell<Vec<Arc<dyn Widget>>> { in children() method 201 &self.children in children()
|
/StarryEngine/starry_toolkit/src/util/ |
H A D | mod.rs | 86 for child in widget.children().borrow().iter() { in widget_set_panel()
|
/StarryEngine/starry_toolkit/src/base/ |
H A D | panel.rs | 242 for child in widget.children().borrow().iter() { in draw_widget()
|