define GtkWindowType

This commit is contained in:
yggverse 2024-08-01 20:15:23 +03:00
parent 2fa95c2ed3
commit 15dca91f8d
3 changed files with 12 additions and 3 deletions

View file

@ -6,6 +6,7 @@ namespace Yggverse\Yoda\Entity;
use \Gtk;
use \GtkWindow;
use \GtkWindowType;
use \Yggverse\Yoda\Entity\Browser\Header;
use \Yggverse\Yoda\Entity\Browser\Container;
@ -37,7 +38,9 @@ class Browser
$this->database = $database;
// Init window
$this->gtk = new GtkWindow;
$this->gtk = new GtkWindow(
GtkWindowType::TOPLEVEL
);
$this->gtk->set_interactive_debugging(
$this::DEBUG