TIP

IUP - Portable User Interface

TIP

Text to be shown when the mouse lies over the element.

Value

Text.

Notes

The FONT used for the text is the same as the FONT selected for the element.

In Windows, the mouse must remain stationary to show the TIP. In Motif, the TIP is always shown after the mouse enter the window.

In Windows, if the mouse remains stationary until the TIP is hidden, the TIP is not shown again until a TIP of another control is shown.

In GTK the TIP will be shown outside the element near the border. Also all additional attributes, including FONT, are predetermined and depend on the native system.

Additional Tip Attributes (Windows and Motif Only)  (since 3.0)

These attributes affect the TIP display. Set the additional attributes before setting the TIP attribute.

TIPDELAY: Time the tip will remain visible. Default: "5000".

TIPBGCOLOR: The tip background color. Default: "255 255 225" (Light Yellow)

TIPFGCOLOR: The tip text color. Default: "0 0 0" (Black)

TIPBALLON [Windows Only]: The tip window will have the appearance of a cartoon "balloon" with rounded corners and a stem pointing to the item.. Default: NO.

TIPBALLONTITLE [Windows Only]: When using the ballon format, the tip can also has a title in a separate area.

TIPBALLONTITLEICON [Windows Only]: When using the ballon format, the tip can also has a pre-defined icon in the title area. Values can be:

"0" - No icon
"1" - Info icon
"2" - Warning icon
"3" - Error Icon


TIPVISIBLE: Action attribute used to show or hide the tip under the mouse cursor. Use values "YES" or "NO". This will work in GTK but it will trigger the tip state, the given value will be ignored.

TIPMARKUP [GTK only]: allows the tip string to contains pango markup commands. Can be "YES" or "NO". Default: "NO".

TIPICON [GTK only]: name of an image to be displayed in the TIP. See the IMAGE attribute.

Affects

All except label, menu item and submenu item.