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()
Construct a new empty IconSet.
IconSet(Handle handle)
Initialize an IconSet with a handle to a native resource.
IconSet(Pixbuf pixbuf)
Construct a new IconSet from a Pixbuf.

Method Summary

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.
static IconSet
getIconSet(Handle handle)
Internal static factory method to be used by Java-Gnome only.
int
getType()

Constructor Details

IconSet

public IconSet()
Construct a new empty IconSet.

IconSet

public IconSet(Handle handle)
Initialize an IconSet with a handle to a native resource.

IconSet

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

Method Details

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()