|
|
@ -16,6 +16,9 @@ class Navigation |
|
|
|
// Requirements |
|
|
|
// Requirements |
|
|
|
public \Yggverse\Yoda\Entity\Browser\Menu $menu; |
|
|
|
public \Yggverse\Yoda\Entity\Browser\Menu $menu; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Defaults |
|
|
|
|
|
|
|
private string $_tooltip = 'Navigation'; |
|
|
|
|
|
|
|
|
|
|
|
public function __construct( |
|
|
|
public function __construct( |
|
|
|
\Yggverse\Yoda\Entity\Browser\Header $header |
|
|
|
\Yggverse\Yoda\Entity\Browser\Header $header |
|
|
|
) { |
|
|
|
) { |
|
|
@ -25,6 +28,10 @@ class Navigation |
|
|
|
// Init navigation container |
|
|
|
// Init navigation container |
|
|
|
$this->gtk = new \GtkMenuButton; |
|
|
|
$this->gtk = new \GtkMenuButton; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->gtk->set_tooltip_text( |
|
|
|
|
|
|
|
$this->_tooltip |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Init menu |
|
|
|
// Init menu |
|
|
|
$this->menu = new Menu( |
|
|
|
$this->menu = new Menu( |
|
|
|
$this->header->browser |
|
|
|
$this->header->browser |
|
|
|