Posted by Philburt on Fri, 17 May 2013 08:07:14
Hi, I'm familiar with creating buttons using xml, but the one thing i cannot find is how to have a tooltip appear on the button, although I can do this easily in lua as:
MyButtonName.tooltipText="The text to appear as a tooltip"
The text message will then appear as a tooltip whenever the mouse hovers over the button, but I would rather set this in the xml code rather than having to write some lua just for this one thing.
Posted by jnwhiteh on Fri, 17 May 2013 16:30:38
You may be able to set it as an attribute, or in an
Posted by Philburt on Fri, 17 May 2013 19:23:01
Thanks for the pointers, I managed to get it working with :
<Scripts> <OnLoad>MyButtonName.tooltipText="My Tooltip Text"</OnLoad> </Scripts>