mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25: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
|
// Defaults
|
||||||
private string $_label = 'Add';
|
private string $_label = 'Add';
|
||||||
|
private string $_tooltip = 'Append new tab';
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
Tab $tab
|
Tab $tab
|
||||||
|
|
@ -27,6 +28,10 @@ class Add
|
||||||
$this->_label
|
$this->_label
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->gtk->set_tooltip_text(
|
||||||
|
$this->_tooltip
|
||||||
|
);
|
||||||
|
|
||||||
// Render
|
// Render
|
||||||
$this->gtk->show();
|
$this->gtk->show();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue