org.gnu.gtk

Class IconSet

public class IconSet extends Boxed

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)
Initialize an IconSet with a handle to a native resource.

IconSet

public IconSet()
Construct a new empty IconSet.

IconSet

public IconSet(Pixbuf pixbuf)
Construct a new IconSet from a Pixbuf.

Method Detail

addSource

public void addSource(IconSource iconSource)
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)
Internal static factory method to be used by Java-Gnome only.

getType

public int getType()