implement viewport to integrate scrolled window features for data label

This commit is contained in:
yggverse 2024-07-07 01:14:16 +03:00
parent 27fc6fd289
commit 38cb571189
2 changed files with 37 additions and 2 deletions

View file

@ -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;
}
}