mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add symbolic button icons & tooltips
This commit is contained in:
parent
5363acc2a9
commit
149ea2cb8e
6 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Add a link
Reference in a new issue