mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
add subtitle default property
This commit is contained in:
parent
ec391a8dd9
commit
815d86b2be
@ -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…
x
Reference in New Issue
Block a user