mirror of https://github.com/YGGverse/Yoda.git
yggverse
5 months ago
2 changed files with 37 additions and 2 deletions
@ -0,0 +1,23 @@ |
|||||||
|
<?php |
||||||
|
|
||||||
|
declare(strict_types=1); |
||||||
|
|
||||||
|
namespace Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content; |
||||||
|
|
||||||
|
class Viewport |
||||||
|
{ |
||||||
|
public \GtkViewport $gtk; |
||||||
|
|
||||||
|
// Dependencies |
||||||
|
public \Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content; |
||||||
|
|
||||||
|
public function __construct( |
||||||
|
\Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content |
||||||
|
) { |
||||||
|
// Init dependencies |
||||||
|
$this->content = $content; |
||||||
|
|
||||||
|
// Init viewport |
||||||
|
$this->gtk = new \GtkViewport; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue