wxToolTip

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

The two static methods, wxToolTip::Enable and wxToolTip::SetDelay can be used to globally alter tooltips behaviour.

Derived from

wxObject

Include files

<wx/tooltip.h>



wxToolTip::Enable



static void Enable(bool flag)

Enable or disable tooltips globally.

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



wxToolTip::SetDelay



static void SetDelay(long msecs)

Set the delay after which the tooltip appears.

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



wxToolTip::wxToolTip



wxToolTip(const wxString& tip)

Constructor.



wxToolTip::SetTip



void SetTip(const wxString& tip)

Set the tooltip text.



wxToolTip::GetTip

wxString GetTip(void) const

Get the tooltip text.



wxToolTip::GetWindow

wxWindow* GetWindow(void) const

Get the associated window.

ymasuda 平成17年11月19日