Home
last modified time | relevance | path

Searched refs:add_child (Results 1 – 8 of 8) sorted by relevance

/StarryEngine/starry_applications/src/asset_manager/code/
H A Dmod.rs157 self.panel.add_child(&Image::new_from_image( in init_grid()
161 self.panel.add_child(&(self.asset_grid)); in init_grid()
172 self.panel.add_child(&Image::new_from_image( in init_list()
176 self.panel.add_child(&(self.asset_list)); in init_list()
181 self.loading_panel.add_child(&Image::new_from_image( in init_loading_panel()
H A Dasset_item_list.rs58 item.add_child(bg); in new()
68 item.add_child(name); in new()
76 item.add_child(file_type); in new()
H A Dasset_item_grid.rs62 item.add_child(bg); in new()
71 item.add_child(icon); in new()
81 item.add_child(name); in new()
/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs101 self.add_child(element.self_ref()); in add_element()
148 self.add_child(element.self_ref()); in insert()
H A Dlist.rs85 self.add_child(element.self_ref()); in add_element()
/StarryEngine/starry_toolkit/src/
H A Dmain.rs38 panel.add_child(&grid); in main()
/StarryEngine/starry_toolkit/src/widgets/
H A Dmod.rs73 fn add_child(&self, widget: Arc<dyn Widget>) { in add_child() method
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs200 pub fn add_child<T: Widget>(&self, widget: &Arc<T>) -> usize { in add_child() method