|
|
@ -4,6 +4,8 @@ declare(strict_types=1); |
|
|
|
|
|
|
|
|
|
|
|
namespace Yggverse\Yoda\Entity\Browser\Container\Page; |
|
|
|
namespace Yggverse\Yoda\Entity\Browser\Container\Page; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use \Yggverse\Yoda\Entity\Browser\Container\Page; |
|
|
|
|
|
|
|
|
|
|
|
class Title |
|
|
|
class Title |
|
|
|
{ |
|
|
|
{ |
|
|
|
public \GtkLabel $gtk; |
|
|
|
public \GtkLabel $gtk; |
|
|
@ -12,7 +14,7 @@ class Title |
|
|
|
public ?string $subtitle = null; |
|
|
|
public ?string $subtitle = null; |
|
|
|
|
|
|
|
|
|
|
|
// Dependencies |
|
|
|
// Dependencies |
|
|
|
public \Yggverse\Yoda\Entity\Browser\Container\Page $page; |
|
|
|
public Page $page; |
|
|
|
|
|
|
|
|
|
|
|
// Defaults |
|
|
|
// Defaults |
|
|
|
private int $_ellipsize = 3; |
|
|
|
private int $_ellipsize = 3; |
|
|
@ -22,7 +24,7 @@ class Title |
|
|
|
private ?string $_tooltip = null; |
|
|
|
private ?string $_tooltip = null; |
|
|
|
|
|
|
|
|
|
|
|
public function __construct( |
|
|
|
public function __construct( |
|
|
|
\Yggverse\Yoda\Entity\Browser\Container\Page $page, |
|
|
|
Page $page, |
|
|
|
) { |
|
|
|
) { |
|
|
|
// Init dependencies |
|
|
|
// Init dependencies |
|
|
|
$this->page = $page; |
|
|
|
$this->page = $page; |
|
|
|