Re: New widget: Dialog, Tooltip? WxWidgets support?
Mark Thomas <[email protected]> Mon, 26 Jul 2004 18:47:26 +0100 (BST)
| Newsgroups | gmane.comp.graphics.y.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 26 Jul 2004, William Lahti wrote:
> tooltips should be properties, not widgets. you should set like
> "tooltipText" for your button and Y handles it automagically.
Almost. You have the tooltip text property for basic tooltips, but you'll
also want a way of associating any widget as the tooltop for any other
widget (so you can have pretty tooltips with pictures, or graphs).
So you have a list of things to try:
if (widget->tooltipWidget != NULL)
use widget->tooltipWidget
else if (getProperty (widget, "TooltipText") != NULL)
make tooltip from text
else
no tooltip
Bear in mind we want tooltips to be tied into accessibility features, too.
Regards,
Mark.
--
|| Mark Thomas
|| efaref.net
||
|| Pun: the lowest form of humor, unless you thought of it first.