Browse Source

add activate method

proto-1
yggverse 3 months ago
parent
commit
07d38f42ca
  1. 3
      src/Box/Tab.php
  2. 2
      src/Yoda.php

3
src/Box/Tab.php

@ -72,7 +72,10 @@ class Tab
true, true,
0 0
); );
}
public function activate()
{
$this->navigation->address->entry->connect( $this->navigation->address->entry->connect(
'activate', 'activate',
function ($entry) function ($entry)

2
src/Yoda.php

@ -63,6 +63,8 @@ $window->connect(
$tab = new \Yggverse\Yoda\Box\Tab(); $tab = new \Yggverse\Yoda\Box\Tab();
$tab->activate();
$window->add( $window->add(
$tab->box $tab->box
); );

Loading…
Cancel
Save