mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
define dependencies ns
This commit is contained in:
parent
14ee41e735
commit
107718022d
23 changed files with 179 additions and 90 deletions
|
|
@ -4,11 +4,15 @@ declare(strict_types=1);
|
|||
|
||||
namespace Yggverse\Yoda\Entity\Browser\Header;
|
||||
|
||||
use \GtkBox;
|
||||
use \GtkOrientation;
|
||||
|
||||
use \Yggverse\Yoda\Entity\Browser\Header;
|
||||
|
||||
class Tray
|
||||
{
|
||||
public \GtkBox $gtk;
|
||||
// GTK
|
||||
public GtkBox $gtk;
|
||||
|
||||
// Dependencies
|
||||
public Header $header;
|
||||
|
|
@ -28,8 +32,8 @@ class Tray
|
|||
$this->header = $header;
|
||||
|
||||
// Init header
|
||||
$this->gtk = new \GtkBox(
|
||||
\GtkOrientation::HORIZONTAL
|
||||
$this->gtk = new GtkBox(
|
||||
GtkOrientation::HORIZONTAL
|
||||
);
|
||||
|
||||
$this->gtk->set_margin_start(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue