Yoda/src/Entity/Browser/Bookmark/Header.php
2024-07-24 20:16:41 +03:00

35 lines
No EOL
604 B
PHP

<?php
declare(strict_types=1);
namespace Yggverse\Yoda\Entity\Browser\Bookmark;
use \GtkHeaderBar;
class Header
{
public GtkHeaderBar $gtk;
public const ACTIONS = true;
public const TITLE = 'Bookmark - Yoda';
public const SUBTITLE = '';
public function __construct()
{
$this->gtk = new GtkHeaderBar;
$this->gtk->set_show_close_button(
$this::ACTIONS
);
$this->gtk->set_title(
_($this::TITLE)
);
$this->gtk->set_subtitle(
_($this::SUBTITLE)
);
$this->gtk->show();
}
}