From 815d86b2bede2d6d642bdfa704a06757e9010ca1 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 5 Jul 2024 23:51:20 +0300 Subject: [PATCH] add subtitle default property --- src/Abstract/Entity/HeaderBar.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Abstract/Entity/HeaderBar.php b/src/Abstract/Entity/HeaderBar.php index 8d69e6c3..ce8ba6e6 100644 --- a/src/Abstract/Entity/HeaderBar.php +++ b/src/Abstract/Entity/HeaderBar.php @@ -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(