[vwnc] [VW7.6 ANN] Tooltips for Widgetry

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] [VW7.6 ANN] Tooltips for Widgetry

Christian Haider
I published {Widgetry} as (1.33 CH 1.0,chaider) to the public store.
 
have fun,
    Christian
 
 
.................. Publishing comment:
 
Tooltips for Widgetry.
 
This version is intended for VW 7.6, not previous versions.
 

1. New tooltips from VW 7.6:
 
The Tooltips intruduced in VW 7.6 are adapted for Widgetry. Now, every widget will display its #helpText as tooltip.
The functionality is the same as in VW 7.6:
- can show strings and UserMessages
- can show arbitrary VisualComponents
- cannot show Widgetry.Forms
- only on the widget level
- not yet able to show full entries in lists or tables
 
The usage is simple: To show Strings or UserMessages, you simply call #helpText: with it.
Since helpTexts are defined as StringAttributes, it is, unfortunately, not possible to display formated text.
If you want to roll your own, you can use #tooltip: of the Agent to show Text or Graphics.
 

2. Bugfixes
- selections in entry widgets are not cleared when focussing out
- Mouse event error in DropDownList
 
Details:
- The changes are integrated into the main bundle to avoid overrides.
- TooltipAssistant is copied and abapted to widgetry
- The HoverHelpWindow and the StateMachine are used from the [Tools-Hoverhelp] package
- A compatibility method from [WidgetryWrapper] is moved to here
- No tests. I didnt add any test and I didnt fix any. I did run some tests and a couple failed (in the original version), but I didnt investigate.
 

Licence: same as Widgetry

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc