Emitted when the mouse has paused over the item for a certain amount of time, or the tooltip was requested via the keyboard.
Note that if keyboard_mode
is true, the values of x
and y
are
undefined and should not be used.
If the item wants to display a tooltip it should update tooltip
and return true.
x |
the x coordinate of the mouse. |
y |
the y coordinate of the mouse. |
tooltip |
a Tooltip. |
keyboard_mode |
true if the tooltip was triggered using the keyboard. |
true if the item has set a tooltip to show. |