Stk.TooltipTooltips
set_delay n sets delay (in seconds) before showing tooltip after last mouse motion other a widget having a tooltip.
val set : < Widget.widget.. > -> (unit -> Widget.widget) -> unitset w f sets a tooltip for widget w. The function f will return the widget to put in the tooltip window.
val set_label :
?classes:string list ->
?props:Props.t ->
< Widget.widget.. > ->
string ->
unitset_label ?classes ?props w text sets a fixed text as tooltip for the given widget w, using a Text.label widget. Optional arguments classes and props are used when creating the label. A new label is created each time the tooltip pops up.
val set_label_f :
?classes:string list ->
?props:Props.t ->
< Widget.widget.. > ->
(unit -> string) ->
unitSame as set_label but the text is provided by a function called each time the tooltip label is created.
val set_tv_text_f :
?classes:string list ->
?props:Props.t ->
< Widget.widget.. > ->
?lang:string ->
(unit -> string) ->
unitset_tv_text ?classes ?props w f sets a textview widget as tooltip, initialized with optional lang. f () returns the text to insert in textview.
val set_tv_text :
?classes:string list ->
?props:Props.t ->
< Widget.widget.. > ->
?lang:string ->
string ->
unitSame as set_tv_text_f but displays a given constant text.