org.gnu.gtk
public class ToolButton extends ToolItem
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.ToolButton
.
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.
Constructor Summary | |
---|---|
ToolButton(Widget iconWidget, String label) | |
ToolButton(String stockId) | |
ToolButton(GtkStockItem stockItem) | |
ToolButton(Handle hndl) |
Method Summary | |
---|---|
void | addListener(ToolButtonListener listener)
Register an object to handle dialog events.
|
Class | getEventListenerClass(String signal) |
EventType | getEventType(String signal) |
Widget | getIconWidget() |
String | getLabel() |
Label | getLabelWidget() |
String | getStockId() |
static ToolButton | getToolButton(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
boolean | getUseUnderline() |
void | removeListener(ToolButtonListener listener)
Removes a listener
|
void | setIconWidget(Widget iconWidget) |
void | setLabel(String label) |
void | setLabelWidget(Label labelWidget) |
void | setStockId(String stockId) |
void | setUseUnderline(boolean useUnderline) |
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.
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.
Register an object to handle dialog events.See Also: ToolButtonListener
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.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.
Removes a listenerSee Also: addListener