mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use namespace
This commit is contained in:
parent
a9dfdc1cca
commit
3823e5674d
2 changed files with 8 additions and 4 deletions
|
|
@ -4,18 +4,20 @@ declare(strict_types=1);
|
|||
|
||||
namespace Yggverse\Yoda\Entity\Browser\Menu\Tab;
|
||||
|
||||
use \Yggverse\Yoda\Entity\Browser\Menu\Tab;
|
||||
|
||||
class Add
|
||||
{
|
||||
public \GtkMenuItem $gtk;
|
||||
|
||||
// Dependencies
|
||||
public \Yggverse\Yoda\Entity\Browser\Menu\Tab $tab;
|
||||
public Tab $tab;
|
||||
|
||||
// Defaults
|
||||
private string $_label = 'Add';
|
||||
|
||||
public function __construct(
|
||||
\Yggverse\Yoda\Entity\Browser\Menu\Tab $tab
|
||||
Tab $tab
|
||||
) {
|
||||
// Init dependencies
|
||||
$this->tab = $tab;
|
||||
|
|
|
|||
|
|
@ -4,19 +4,21 @@ declare(strict_types=1);
|
|||
|
||||
namespace Yggverse\Yoda\Entity\Browser\Menu\Tab;
|
||||
|
||||
use \Yggverse\Yoda\Entity\Browser\Menu\Tab;
|
||||
|
||||
class Close
|
||||
{
|
||||
public \GtkMenuItem $gtk;
|
||||
|
||||
// Dependencies
|
||||
public \Yggverse\Yoda\Entity\Browser\Menu\Tab $tab;
|
||||
public Tab $tab;
|
||||
|
||||
// Defaults
|
||||
private string $_label = 'Close';
|
||||
private string $_tooltip = 'Close active tab (double click on tab)';
|
||||
|
||||
public function __construct(
|
||||
\Yggverse\Yoda\Entity\Browser\Menu\Tab $tab
|
||||
Tab $tab
|
||||
) {
|
||||
// Init dependencies
|
||||
$this->tab = $tab;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue