wxToolTip(3erl)

wxToolTip3erl

Functions for wxtooltip class

Overview

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

Data types

wxToolTip() = wx:wx_object()

Exports

enable(Flag) -> ok

Types:

Flag = boolean()

Enable or disable tooltips globally.

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

setDelay(Msecs) -> ok

Types:

Msecs = integer()

Set the delay after which the tooltip appears.

Note: May not be supported on all platforms.

new(Tip) -> wxToolTip()

Types:

Tip = unicode:chardata()

Constructor.

setTip(This, Tip) -> ok

Types:

This = wxToolTip()
Tip = unicode:chardata()

Set the tooltip text.

getTip(This) -> unicode:charlist()

Types:

This = wxToolTip()

Get the tooltip text.

getWindow(This) -> wxWindow:wxWindow()

Types:

This = wxToolTip()

Get the associated window.

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

Destroys the object.

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12

From erlang-manpages 1:25.2.3+dfsg-1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.