View Source wxToolTip (wx v2.4.2)
Functions for wxToolTip class
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
-type wxToolTip() :: wx:wx_object().
Functions
-spec destroy(This :: wxToolTip()) -> ok.
Destroys the object.
-spec enable(Flag) -> ok when Flag :: boolean().
Enable or disable tooltips globally.
Note: May not be supported on all platforms (eg. wxCocoa).
-spec getTip(This) -> unicode:charlist() when This :: wxToolTip().
Get the tooltip text.
-spec getWindow(This) -> wxWindow:wxWindow() when This :: wxToolTip().
Get the associated window.
-spec new(Tip) -> wxToolTip() when Tip :: unicode:chardata().
Constructor.
-spec setDelay(Msecs) -> ok when Msecs :: integer().
Set the delay after which the tooltip appears.
Note: May not be supported on all platforms.
-spec setTip(This, Tip) -> ok when This :: wxToolTip(), Tip :: unicode:chardata().
Set the tooltip text.