org.gnu.gtk

Class ToolTips

public class ToolTips extends GtkObject

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.ToolTips. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

ToolTips are the messages that appear next to a widget when the mouse pointer is held over it for a short period of time.
Constructor Summary
ToolTips()
Construct a new ToolTips object.
ToolTips(Handle handle)
Method Summary
voiddisable()
Disables the ToolTips.
voidenable()
Enables the ToolTips.
static ToolTipsDatagetData(Widget widget)
Retrieve the ToolTipsData associated with the provided widget
static ToolTipsgetToolTips(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static TypegetType()
Retrieve the runtime type used by the GLib library.
voidsetTip(Widget widget, String tipText, String additionalInfo)
Adds a tooltip to a Widget.

Constructor Detail

ToolTips

public ToolTips()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct a new ToolTips object.

ToolTips

public ToolTips(Handle handle)

Method Detail

disable

public void disable()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Disables the ToolTips.

enable

public void enable()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Enables the ToolTips.

getData

public static ToolTipsData getData(Widget widget)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Retrieve the ToolTipsData associated with the provided widget

Parameters: widget

getToolTips

public static ToolTips getToolTips(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Internal static factory method to be used by Java-Gnome only.

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.

setTip

public void setTip(Widget widget, String tipText, String additionalInfo)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Adds a tooltip to a Widget.

Parameters: 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.