|
|
|
@ -4,6 +4,8 @@ declare(strict_types=1);
@@ -4,6 +4,8 @@ declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace Yggverse\Yoda\Entity\Browser\Container\Page; |
|
|
|
|
|
|
|
|
|
use \Yggverse\Yoda\Entity\Browser\Container\Page; |
|
|
|
|
|
|
|
|
|
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Base; |
|
|
|
|
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Go; |
|
|
|
|
use \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\History; |
|
|
|
@ -14,19 +16,19 @@ class Navbar
@@ -14,19 +16,19 @@ class Navbar
|
|
|
|
|
public \GtkBox $gtk; |
|
|
|
|
|
|
|
|
|
// Dependencies |
|
|
|
|
public \Yggverse\Yoda\Entity\Browser\Container\Page $page; |
|
|
|
|
public Page $page; |
|
|
|
|
|
|
|
|
|
// Requirements |
|
|
|
|
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Base $base; |
|
|
|
|
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Go $go; |
|
|
|
|
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\History $history; |
|
|
|
|
public \Yggverse\Yoda\Entity\Browser\Container\Page\Navbar\Request $request; |
|
|
|
|
public Base $base; |
|
|
|
|
public Go $go; |
|
|
|
|
public History $history; |
|
|
|
|
public Request $request; |
|
|
|
|
|
|
|
|
|
// Defaults |
|
|
|
|
private int $_margin = 8; |
|
|
|
|
|
|
|
|
|
public function __construct( |
|
|
|
|
\Yggverse\Yoda\Entity\Browser\Container\Page $page |
|
|
|
|
Page $page |
|
|
|
|
) { |
|
|
|
|
// Init dependencies |
|
|
|
|
$this->page = $page; |
|
|
|
|