A recent desktop app of mine had a line of ToolBar buttons, each with the same image, and I needed to distinguish between them. So I added a toolTip field to the fwt::Button class.
The Java implementation uses getToolTipText() / setToolTipText() on SWTs Control / ToolItem classes and the Javascript implementation simply adds a title attribute to the wrapping div elements.
Brian, I'll email you the patch - it's pretty small.
SlimerDude Thu 9 Jul 2015
A recent desktop app of mine had a line of ToolBar buttons, each with the same image, and I needed to distinguish between them. So I added a
toolTip
field to the fwt::Button class.The Java implementation uses
getToolTipText()
/setToolTipText()
on SWTsControl
/ToolItem
classes and the Javascript implementation simply adds atitle
attribute to the wrappingdiv
elements.Brian, I'll email you the patch - it's pretty small.
Edit
Figured I could just paste the patch here: