mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add tooltip
This commit is contained in:
parent
3823e5674d
commit
032704ee70
1 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ class Add
|
|||
|
||||
// Defaults
|
||||
private string $_label = 'Add';
|
||||
private string $_tooltip = 'Append new tab';
|
||||
|
||||
public function __construct(
|
||||
Tab $tab
|
||||
|
|
@ -27,6 +28,10 @@ class Add
|
|||
$this->_label
|
||||
);
|
||||
|
||||
$this->gtk->set_tooltip_text(
|
||||
$this->_tooltip
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue