Home
last modified time | relevance | path

Searched refs:add_element (Results 1 – 4 of 4) sorted by relevance

/StarryEngine/starry_toolkit/src/
H A Dmain.rs32 grid.add_element(&image1); in main()
33 grid.add_element(&image2); in main()
34 grid.add_element(&image3); in main()
35 grid.add_element(&image4); in main()
36 grid.add_element(&image5); in main()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dmod.rs192 let (row, col) = self.asset_grid.add_element(&parent_asset_item); in refresh_grid()
206 let (row, col) = self.asset_grid.add_element(&asset_item); in refresh_grid()
249 let _index = self.asset_list.add_element(&asset_item); in refresh_list()
/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs84 pub fn add_element<T: Widget>(&self, element: &Arc<T>) -> usize { in add_element() method
H A Dgrid.rs100 pub fn add_element<T: Widget>(&self, element: &Arc<T>) -> (usize, usize) { in add_element() method