rename Main box to Tab

This commit is contained in:
yggverse 2024-04-10 05:27:11 +03:00
parent e518b0a898
commit a1fa9f96e7
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ declare(strict_types=1);
namespace Yggverse\Yoda\Box;
class Main
class Tab
{
public \GtkBox $box;
@ -16,7 +16,7 @@ class Main
public \Yggverse\Yoda\Model\Memory $memory;
public function __construct(
string $name = 'boxMain'
string $name = 'boxTab'
) {
// Init memory
$this->memory = new \Yggverse\Yoda\Model\Memory();

View file

@ -1,3 +1,3 @@
#boxMenu {}
#boxNavigation {}
#boxMain {}
#boxTab {}

View file

@ -61,10 +61,10 @@ $window->connect(
}
);
$main = new \Yggverse\Yoda\Box\Main();
$tab = new \Yggverse\Yoda\Box\Tab();
$window->add(
$main->box
$tab->box
);
$window->show_all();