org.gnu.gtk
public class GtkStockItem extends Object
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.GtkStockItem
.
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.
In these Java bindings for Gtk, we have created a GtkStockItem object which should be passed to widget methods, rather than the stock id string as is done in gtk. This should help prevent errors due to typing, and also allows stronger typing of many methods.
TODO: give a link to details of all the stock items.
Constructor Summary | |
---|---|
GtkStockItem(String id)
Creates a new StockItem object, based on the id string for that object.
|
Method Summary | |
---|---|
String | getString() |
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.
Creates a new StockItem object, based on the id string for that object. It is highly recommended that you use the static final strings which are part of this class rather than quoting the strings directly.