org.gnu.gnome
Class WindowIcon

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.gnome.WindowIcon

public class WindowIcon
extends Boxed


Method Summary
static void setDefaultIcon(java.lang.String filename)
          Sets the default icon to be used in all windows of the application
static void setIcon(Window window, java.lang.String filename)
          Set an icon for a window.
 
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
 

Method Detail

setIcon

public static void setIcon(Window window,
                           java.lang.String filename)
Set an icon for a window.

Parameters:
window - The window to set the icon.
filename - The filename of the icon

setDefaultIcon

public static void setDefaultIcon(java.lang.String filename)
Sets the default icon to be used in all windows of the application

Parameters:
filename - The filename of the icon.

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