mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update tooltips
This commit is contained in:
parent
ed0e033404
commit
838c93b6f8
2 changed files with 6 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ class Tab
|
|||
|
||||
// Defaults
|
||||
protected string $_label = '+';
|
||||
private string $_tooltip = 'New tab';
|
||||
|
||||
public function __construct(
|
||||
Header $header
|
||||
|
|
@ -29,6 +30,10 @@ class Tab
|
|||
$this->_label
|
||||
);
|
||||
|
||||
$this->gtk->set_tooltip_text(
|
||||
$this->_tooltip
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class Add
|
|||
|
||||
// Defaults
|
||||
private string $_label = 'Add';
|
||||
private string $_tooltip = 'Append new tab';
|
||||
private string $_tooltip = 'New tab';
|
||||
|
||||
public function __construct(
|
||||
Tab $tab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue