mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add subtitle default property
This commit is contained in:
parent
ec391a8dd9
commit
815d86b2be
1 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ abstract class HeaderBar
|
|||
|
||||
protected bool $_actions = true;
|
||||
protected string $_title = 'Yoda';
|
||||
protected string $_subtitle = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
|
@ -22,6 +23,10 @@ abstract class HeaderBar
|
|||
$this->gtk->set_title(
|
||||
$this->_title
|
||||
);
|
||||
|
||||
$this->gtk->set_subtitle(
|
||||
$this->_subtitle
|
||||
);
|
||||
}
|
||||
|
||||
public function setTitle(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue