mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
rename Main box to Tab
This commit is contained in:
parent
e518b0a898
commit
a1fa9f96e7
3 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Yggverse\Yoda\Box;
|
namespace Yggverse\Yoda\Box;
|
||||||
|
|
||||||
class Main
|
class Tab
|
||||||
{
|
{
|
||||||
public \GtkBox $box;
|
public \GtkBox $box;
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@ class Main
|
||||||
public \Yggverse\Yoda\Model\Memory $memory;
|
public \Yggverse\Yoda\Model\Memory $memory;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
string $name = 'boxMain'
|
string $name = 'boxTab'
|
||||||
) {
|
) {
|
||||||
// Init memory
|
// Init memory
|
||||||
$this->memory = new \Yggverse\Yoda\Model\Memory();
|
$this->memory = new \Yggverse\Yoda\Model\Memory();
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#boxMenu {}
|
#boxMenu {}
|
||||||
#boxNavigation {}
|
#boxNavigation {}
|
||||||
#boxMain {}
|
#boxTab {}
|
||||||
|
|
@ -61,10 +61,10 @@ $window->connect(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$main = new \Yggverse\Yoda\Box\Main();
|
$tab = new \Yggverse\Yoda\Box\Tab();
|
||||||
|
|
||||||
$window->add(
|
$window->add(
|
||||||
$main->box
|
$tab->box
|
||||||
);
|
);
|
||||||
|
|
||||||
$window->show_all();
|
$window->show_all();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue