mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add debug menu item
This commit is contained in:
parent
7135d668c9
commit
a8cca0ed5b
3 changed files with 64 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue