mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
35 lines
No EOL
604 B
PHP
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();
|
|
}
|
|
} |