Home
last modified time | relevance | path

Searched defs:Widget (Results 1 – 10 of 10) sorted by relevance

/StarryEngine/starry_toolkit/src/traits/
H A Dfocus.rs7 fn focused_widget(&self) -> RefCell<Option<Arc<dyn Widget>>>; in focused_widget()
10 fn focus(&self, widget: &Arc<dyn Widget>); in focus()
/StarryEngine/starry_toolkit/src/widgets/
H A Dmod.rs44 pub trait Widget: Any { trait
46 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()
H A Dimage.rs86 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()
H A Dlabel.rs126 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()
/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs172 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()
H A Dgrid.rs243 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()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_list.rs83 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()
H A Dasset_item_grid.rs88 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()
/StarryEngine/starry_toolkit/src/util/
H A Dmod.rs83 pub fn widget_set_panel(widget: &Arc<dyn Widget>, panel: &Arc<Panel>) { in widget_set_panel()
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs226 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()