********** wx.ToolTip ********** Inheritance diagram for `wx.ToolTip`: | .. inheritance-diagram:: wx.ToolTip | Description =========== This class holds information about a tooltip associated with a window (see `wx.Window.SetToolTip `_). The two static methods, `wx.ToolTip.Enable `_ and `wx.ToolTip.SetDelay `_ can be used to globally alter tooltips behaviour. Derived From ^^^^^^^^^^^^^ * `wx.Object `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `Enable <#Enable>`_ * `GetTip <#GetTip>`_ * `GetWindow <#GetWindow>`_ * `SetDelay <#SetDelay>`_ * `SetTip <#SetTip>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Tip <#Tip>`_ * `Window <#Window>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(tip) | **Parameters:** * `tip` (string) | **Returns:** `wx.ToolTip `_ -------- .. method:: Enable(flag) Enable or disable tooltips globally. **Parameters:** * `flag` (bool): ``True`` to enable tooltips, ``False`` to disable them globally. .. note:: May not be supported on all platforms (eg. wxCocoa). -------- .. method:: GetTip() Get the tooltip text. | **Returns:** `string` -------- .. method:: GetWindow() Get the associated window. | **Returns:** `wx.Window `_ -------- .. method:: SetDelay(msecs) Set the delay after which the tooltip appears. **Parameters:** * `msecs` (long): The delay in milliseconds. .. note:: May not be supported on all platforms (eg. wxCocoa). -------- .. method:: SetTip(tip) Set the tooltip text. **Parameters:** * `tip` (string): The tooltip text. -------- Properties ^^^^^^^^^^ .. attribute:: Tip See `GetTip <#GetTip>`_ and `SetTip <#SetTip>`_ .. attribute:: Window See `GetWindow <#GetWindow>`_