Browse Source

add symbolic button icons & tooltips

PHP-GTK3
yggverse 4 months ago
parent
commit
149ea2cb8e
  1. 2
      src/Entity/Browser/Container/Page/Navbar/Base.php
  2. 2
      src/Entity/Browser/Container/Page/Navbar/Go.php
  3. 2
      src/Entity/Browser/Container/Page/Navbar/History/Back.php
  4. 2
      src/Entity/Browser/Container/Page/Navbar/History/Forward.php
  5. 2
      src/Entity/Browser/Header/Tray/Tab.php
  6. 2
      src/Entity/Browser/History/Container/Navbar/Delete.php

2
src/Entity/Browser/Container/Page/Navbar/Base.php

@ -6,7 +6,9 @@ namespace Yggverse\Yoda\Entity\Browser\Container\Page\Navbar; @@ -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

2
src/Entity/Browser/Container/Page/Navbar/Go.php

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Button; @@ -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

2
src/Entity/Browser/Container/Page/Navbar/History/Back.php

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Button; @@ -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

2
src/Entity/Browser/Container/Page/Navbar/History/Forward.php

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Button; @@ -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

2
src/Entity/Browser/Header/Tray/Tab.php

@ -15,7 +15,7 @@ class Tab @@ -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(

2
src/Entity/Browser/History/Container/Navbar/Delete.php

@ -8,7 +8,9 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navbar\Button; @@ -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

Loading…
Cancel
Save