org.gnu.gtk
Class IconSet

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.gtk.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(int 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.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconSet

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

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net