return _capture_events;
}
+ //----------------------------------------------------------------------------
+ void Window::setVisible(bool visible)
+ {
+ LayoutItem::setVisible(visible);
+ Element::setVisible(LayoutItem::isVisible());
+ }
+
+ //----------------------------------------------------------------------------
+ bool Window::isVisible() const
+ {
+ return Element::isVisible();
+ }
+
//----------------------------------------------------------------------------
void Window::raise()
{
->createChild<Image>("content");
_image_content->setSrcCanvas(content);
+ // Forward keyboard events to content
+ _image_content->setFocus();
+
// Draw content on top of decoration
_image_content->set<int>("z-index", 1);
}