implement bookmarks browser

This commit is contained in:
yggverse 2024-07-24 20:16:41 +03:00
parent 107718022d
commit 49ec6ee23d
16 changed files with 840 additions and 1 deletions

View file

@ -0,0 +1,35 @@
<?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();
}
}