Commit 4022ecd9 authored by Florian Blasius's avatar Florian Blasius 🤘

Merge branch 'master' into window-refactoring

parents d37aff01 107003ba
Pipeline #4041 passed with stages
in 10 minutes and 22 seconds
......@@ -40,6 +40,11 @@ impl<'a> Context<'a> {
pub fn widget(&mut self) -> WidgetContainer<'_> {
WidgetContainer::new(self.entity, &mut self.ecm)
/// Returns the window widget.
pub fn window(&mut self) -> WidgetContainer<'_> {
WidgetContainer::new(0, &mut self.ecm)
/// Returns a child of the widget of the current state referenced by css `id`.
/// If the no id is defined None will returned.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment