org.gnu.gtk
Class ToolTips
ToolTips are the messages that appear next to a widget when the mouse pointer
is held over it for a short period of time.
void | disable() - Disables the ToolTips.
|
void | enable() - Enables the ToolTips.
|
static ToolTipsData | getData(Widget widget) - Retrieve the ToolTipsData associated with the provided widget
|
static ToolTips | getToolTips(Handle handle) - Internal static factory method to be used by Java-Gnome only.
|
static Type | getType() - Retrieve the runtime type used by the GLib library.
|
void | setTip(Widget widget, String tipText, String additionalInfo) - Adds a tooltip to a Widget.
|
ToolTips
public ToolTips()
Construct a new ToolTips object.
ToolTips
public ToolTips(Handle handle)
disable
public void disable()
Disables the ToolTips.
enable
public void enable()
Enables the ToolTips.
getData
public static ToolTipsData getData(Widget widget)
Retrieve the ToolTipsData associated with the provided widget
getToolTips
public static ToolTips getToolTips(Handle handle)
Internal static factory method to be used by Java-Gnome only.
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
- getType in interface GtkObject
setTip
public void setTip(Widget widget,
String tipText,
String additionalInfo)
Adds a tooltip to a Widget.
widget
- The Widget to add to tooltips.tipText
- The text to display for the tooltip.additionalInfo
- Additional information that might be useful to the user if
they get stuck.