[Y-devel] New widget: Dialog, Tooltip? WxWidgets support?
Mark Thomas mark at www.y-windows.org
Mon Jul 26 18:47:26 BST 2004
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.
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved