mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
add activate method
This commit is contained in:
parent
a1fa9f96e7
commit
07d38f42ca
2 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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…
Add table
Add a link
Reference in a new issue