setToolTipText()
Set the hover text shown over the object.
Parameters
Once an object item has been created, you can use the following functions:
item.setToolTipText()
item.setToolTipText(text)
| Parameter | Type | Default | Description |
|---|---|---|---|
text |
str |
None |
The tooltip text. If omitted, the tooltip is cleared. |