High definition tooltip


#1

Hi,

Jules, can you add a “var getTooltip() = 0” ?
I would like to put a complete tooltip (with a image + text), and the “String getTooltip()” is quite limited to text only.
As you’ve added a variant type, it might be interesting to support variant tooltip, with the default behaviour being "if (var.isString()) defaultBehaviour;"
What do you think ?
(Currently I’m passing XML in there but it’s a pain to serialize / unserialize in my TooltipWindow)


#2

Well, a var can’t hold an image very easily anyway… and it’d mean breaking everybody’s existing code, so I’m not really sold on the idea!


#3