diff --git a/emigui/src/containers/window.rs b/emigui/src/containers/window.rs
index d55ec333..3f39fcd1 100644
--- a/emigui/src/containers/window.rs
+++ b/emigui/src/containers/window.rs
@@ -5,15 +5,16 @@ use crate::{widgets::*, *};
use super::*;
/// A wrapper around other containers for things you often want in a window
-pub struct Window {
+pub struct Window<'open> {
pub title_label: Label,
+ open: Option<&'open mut bool>,
pub area: Area,
pub frame: Option,
pub resize: Resize,
pub scroll: Option,
}
-impl Window {
+impl<'open> Window<'open> {
// TODO: Into