use local gtk show initiation instead of show_all method

This commit is contained in:
yggverse 2024-07-08 00:04:49 +03:00
parent 5fda126ea9
commit 12a1473d8c
28 changed files with 79 additions and 10 deletions

View file

@ -25,6 +25,9 @@ class History
$this->_label
);
// Render
$this->gtk->show();
// Int events
$this->gtk->connect(
'activate',
@ -33,8 +36,6 @@ class History
$history = new \Yggverse\Yoda\Entity\Browser\History(
$this->menu->browser
);
$history->gtk->show_all();
}
);
}

View file

@ -25,6 +25,9 @@ class Quit
$this->_label
);
// Render
$this->gtk->show();
// Int events
$this->gtk->connect(
'activate',

View file

@ -56,5 +56,8 @@ class Tab
$this->gtk->set_submenu(
$tab
);
// Render
$this->gtk->show();
}
}

View file

@ -25,6 +25,9 @@ class Add
$this->_label
);
// Render
$this->gtk->show();
// Init events
$this->gtk->connect(
'activate',

View file

@ -25,6 +25,9 @@ class Close
$this->_label
);
// Render
$this->gtk->show();
// Int events
$this->gtk->connect(
'activate',