WidgetTooltip returns the tooltip text that should be used for this widget, and the window-relative position to use for the upper-left corner of the tooltip. The current mouse position in scene-local coordinates is passed to the function; if it is {-1, -1}, that indicates that WidgetTooltip is being
(pos image.Point)
| 107 | // it to do different things. For example, buttons add their |
| 108 | // shortcut to the tooltip here. |
| 109 | WidgetTooltip(pos image.Point) (string, image.Point) |
| 110 | |
| 111 | // ContextMenuPos returns the default position for popup menus; |
| 112 | // by default in the middle its Bounding Box, but can be adapted as |
no outgoing calls