mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
define GtkWindowType
This commit is contained in:
parent
2fa95c2ed3
commit
15dca91f8d
3 changed files with 12 additions and 3 deletions
|
|
@ -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