Previous User Interface Programming: Using Widget Buttons Next

Tooltips

You can specify a "tooltip" — a short text string that will appear when the mouse pointer hovers over a button widget — by specifying the string as the value of the TOOLTIP keyword to WIDGET_BUTTON.

Figure 5-1: A tool tip.

Figure 5-1: A tool tip.


Note
Tooltips cannot be created for menu sub-items. The topmost button of a pulldown menu can, however, have a tooltip.

  IDL Online Help (March 06, 2007)