add symbolic button icons & tooltips

This commit is contained in:
yggverse 2024-07-22 15:05:42 +03:00
parent 5363acc2a9
commit 149ea2cb8e
6 changed files with 11 additions and 1 deletions

View file

@ -6,7 +6,9 @@ namespace Yggverse\Yoda\Entity\Browser\Container\Page\Navbar;
class Base extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Button
{
public const IMAGE = 'go-home-symbolic';
public const LABEL = 'Base';
public const TOOLTIP = 'Base';
protected function _onCLick(
\GtkButton $entity

View file

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Button;
class Go extends Button
{
public const IMAGE = 'view-refresh-symbolic';
public const LABEL = 'Go';
public const TOOLTIP = 'Update';
protected function _onCLick(
\GtkButton $entity

View file

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Button;
class Back extends Button
{
public const IMAGE = 'go-previous-symbolic';
public const LABEL = 'Back';
public const TOOLTIP = 'Back';
protected function _onCLick(
\GtkButton $entity

View file

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Button;
class Forward extends Button
{
public const IMAGE = 'go-next-symbolic';
public const LABEL = 'Forward';
public const TOOLTIP = 'Forward';
protected function _onCLick(
\GtkButton $entity

View file

@ -15,7 +15,7 @@ class Tab
// Defaults
public const LABEL = '+';
public const IMAGE = 'tab-new';
public const IMAGE = 'tab-new-symbolic';
public const TOOLTIP = 'New tab';
public function __construct(

View file

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navbar\Button;
class Delete extends Button
{
public const IMAGE = 'window-close-symbolic';
public const LABEL = 'Delete';
public const TOOLTIP = 'Delete';
protected function _onCLick(
\GtkButton $entity