diff --git a/src/Entity/Window.php b/src/Entity/Window.php index b1d23e5a..161cc241 100644 --- a/src/Entity/Window.php +++ b/src/Entity/Window.php @@ -20,6 +20,8 @@ class Window private int $_width = 640; private int $_height = 480; + private bool $_maximize = true; + public function __construct( \Yggverse\Yoda\Model\Database $database ) { @@ -32,6 +34,11 @@ class Window $this->_height ); + if ($this->_maximize) + { + $this->gtk->maximize(); + } + $this->header = new Header( $this );