wxToolTip (wx v2.5.4)

Copy Markdown View Source

This class holds information about a tooltip associated with a window (see wxWindow:setToolTip/2).

The four static methods, enable/1, setDelay/1 wxToolTip::SetAutoPop() (not implemented in wx) and wxToolTip::SetReshow() (not implemented in wx) can be used to globally alter tooltips behaviour.

wxWidgets docs: wxToolTip

Summary

Functions

Destroys the object

Enable or disable tooltips globally.

Get the tooltip text.

Get the associated window.

Constructor.

Set the delay after which the tooltip appears.

Set the tooltip text.

Types

wxToolTip()

-type wxToolTip() :: wx:wx_object().

Functions

destroy(This :: wxToolTip()) -> ok

Destroys the object

enable(Flag :: boolean()) -> ok

Enable or disable tooltips globally.

Note: May not be supported on all platforms (eg. wxCocoa).

getTip(This :: wxToolTip()) -> unicode:charlist()

Get the tooltip text.

getWindow(This :: wxToolTip()) -> wxWindow:wxWindow()

Get the associated window.

new(Tip :: unicode:chardata()) -> wxToolTip()

Constructor.

setDelay(Msecs :: integer()) -> ok

Set the delay after which the tooltip appears.

Note: May not be supported on all platforms.

setTip(This :: wxToolTip(), Tip :: unicode:chardata()) -> ok

Set the tooltip text.