org.gnu.gtk

Class IconSet

public class IconSet extends Boxed

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.IconSet. 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.

This object represents a set of Icons that are a variant of a particular icon.
Constructor Summary
IconSet(Handle handle)
Initialize an IconSet with a handle to a native resource.
IconSet()
Construct a new empty IconSet.
IconSet(Pixbuf pixbuf)
Construct a new IconSet from a Pixbuf.
Method Summary
voidaddSource(IconSource iconSource)
Icon sets have a list of IconSource which they use as base icons for rendering icons in different states and sizes.
static IconSetgetIconSet(Handle handle)
Internal static factory method to be used by Java-Gnome only.
intgetType()

Constructor Detail

IconSet

public IconSet(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.

Initialize an IconSet with a handle to a native resource.

IconSet

public IconSet()

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 empty IconSet.

IconSet

public IconSet(Pixbuf pixbuf)

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 IconSet from a Pixbuf.

Method Detail

addSource

public void addSource(IconSource iconSource)

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.

Icon sets have a list of IconSource which they use as base icons for rendering icons in different states and sizes. The base images and when to use them are described by a IconSource. This method adds an IconSource to the IconSet.

Parameters: iconSource The IconSource to add to this IconSet.

getIconSet

public static IconSet getIconSet(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 int getType()