add tooltip

This commit is contained in:
yggverse 2024-07-20 11:37:34 +03:00
parent 3823e5674d
commit 032704ee70

View file

@ -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();