wxToolTip(3erl)

πŸ’– NAME πŸ’–

okay so welcome to the wxToolTip(3erl) manual page β€” Erlang Module Definition vibes, bestie ✨ β€” and this one is all about wxToolTip: Functions for wxToolTip class. Slay.


✨ DESCRIPTION ✨

This class holds information about a tooltip associated with a window (see wxWindow:setToolTip/2). It's giving β€œtooltip lore” and honestly? iconic.

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. periodt.

wxWidgets docs: wxToolTip


πŸŽ€ DATA TYPES πŸŽ€

wxToolTip() = wx:wx_object()

🌸 EXPORTS 🌸

enable(Flag) -> ok

Types:

Flag = boolean()

Enable or disable tooltips globally. yes bestie, global tooltip vibes πŸ’…

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

setDelay(Msecs) -> ok

Types:

Msecs = integer()

Set the delay after which the tooltip appears. the anticipation? real.

Note: May not be supported on all platforms.

new(Tip) -> wxToolTip()

Types:

Tip = unicode:chardata()

Constructor. new tooltip object just dropped 🫢

setTip(This, Tip) -> ok

Types:

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

Set the tooltip text. put the words in the tooltip, bestie ✨

getTip(This) -> unicode:charlist()

Types:

This = wxToolTip()

Get the tooltip text. reading the tooltip back, iykyk πŸ’–

getWindow(This) -> wxWindow:wxWindow()

Types:

This = wxToolTip()

Get the associated window. the tooltip's main character window πŸ‘‘

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

Destroys the object. bye bye tooltip object πŸ’€βœ¨


xoxo, the wxWidgets team πŸ’– β€” version wx 2.2.2.1, page wxToolTip(3erl). later, bestie 🫢

πŸ“¦ where this page comes from