wxRuby Documentation Home

# Wx::ToolTip

This class holds information about a tooltip associated with a window
(see Window#set_tool_tip).

The two class methods, ToolTip.enable and
ToolTip.set_delay can be used to
globally alter tooltips behaviour.

## Derived from

Object

## Methods

- ToolTip.enable
- ToolTip.set_delay
- ToolTip.new
- ToolTip#set_tip
- ToolTip#get_tip
- ToolTip#get_window

### ToolTip.enable

ToolTip.enable(%(arg-type)Boolean% flag)

Enable or disable tooltips globally. May not be supported on all
platforms (eg. Cocoa).

### ToolTip.set_delay

ToolTip.set_delay(%(arg-type)Integer% msecs)

Set the delay after which tooltips appear. May not be supported on all
platforms (eg. Cocoa).

### ToolTip.new

ToolTip.new(%(arg-type)String% tip)

Constructor.

### ToolTip#set_tip

set_tip(%(arg-type)String% tip)

Set the tooltip text.

### ToolTip#get_tip

String get_tip()

Get the tooltip text.

### ToolTip#get_window

Window get_window()

Get the associated window.

[This page automatically generated from the Textile source at 2023-06-09 00:45:35 +0000]