Browse Source

add tooltip

PHP-GTK3
yggverse 4 months ago
parent
commit
032704ee70
  1. 5
      src/Entity/Browser/Menu/Tab/Add.php

5
src/Entity/Browser/Menu/Tab/Add.php

@ -15,6 +15,7 @@ class Add @@ -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 @@ -27,6 +28,10 @@ class Add
$this->_label
);
$this->gtk->set_tooltip_text(
$this->_tooltip
);
// Render
$this->gtk->show();

Loading…
Cancel
Save