add debug menu item

This commit is contained in:
yggverse 2024-07-26 23:02:19 +03:00
parent 7135d668c9
commit a8cca0ed5b
3 changed files with 64 additions and 2 deletions

View file

@ -28,6 +28,7 @@ class Browser
public const WIDTH = 640;
public const HEIGHT = 640;
public const MAXIMIZE = true;
public const DEBUG = false;
public function __construct(
Database $database
@ -38,6 +39,10 @@ class Browser
// Init window
$this->gtk = new GtkWindow;
$this->gtk->set_interactive_debugging(
$this::DEBUG
);
$this->gtk->set_size_request(
$this::WIDTH,
$this::HEIGHT