mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
define GtkWindowType
This commit is contained in:
parent
2fa95c2ed3
commit
15dca91f8d
3 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ declare(strict_types=1);
|
|||
namespace Yggverse\Yoda\Entity\Browser;
|
||||
|
||||
use \GtkWindow;
|
||||
use \GtkWindowType;
|
||||
|
||||
use \Yggverse\Yoda\Entity\Browser;
|
||||
|
||||
|
|
@ -32,7 +33,9 @@ class Bookmark
|
|||
$this->browser = $browser;
|
||||
|
||||
// Init window
|
||||
$this->gtk = new GtkWindow;
|
||||
$this->gtk = new GtkWindow(
|
||||
GtkWindowType::TOPLEVEL // GtkWindowType::POPUP
|
||||
);
|
||||
|
||||
$this->gtk->set_size_request(
|
||||
$this::WIDTH,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ declare(strict_types=1);
|
|||
namespace Yggverse\Yoda\Entity\Browser;
|
||||
|
||||
use \GtkWindow;
|
||||
use \GtkWindowType;
|
||||
|
||||
use \Yggverse\Yoda\Entity\Browser;
|
||||
|
||||
|
|
@ -32,7 +33,9 @@ class History
|
|||
$this->browser = $browser;
|
||||
|
||||
// Init window
|
||||
$this->gtk = new GtkWindow;
|
||||
$this->gtk = new GtkWindow(
|
||||
GtkWindowType::TOPLEVEL // GtkWindowType::POPUP
|
||||
);
|
||||
|
||||
$this->gtk->set_size_request(
|
||||
$this::WIDTH,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue