Project

General

Profile

Previous Up Next

_CRtoolTip
Creates a tooltip to show when mouse cursor enters a given ObjNode

ObjNode _CRtoolTip (
ObjNode _node_
I _timeout_
S _text_
fun [ObjNode u0 S I I] u1 _callbackshow_
u0 _usershow_
fun [ObjNode u2 S] u3 _callbackhide_
u2 _userhide_
)
Parameters

_node_
any ObjNode
_timeout_
launching time of tooltip (in ms)
_text_
text to display in tooltip
_callbackshow_
callback function called when tooltip appears (supplemental parameters are text, x and y)
_usershow_
user parameter
_callbackhide_
callback function called when tooltip hides (supplemental parameter is text)
_userhide_
user parameter
Return value

same ObjNode
Remark

A tooltip created by calling this function does not show, its up to the user to handle it in callback functions