org.gnu.gnome
Class WindowIcon

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.gnome.WindowIcon

Deprecated.

public class WindowIcon
extends org.gnu.glib.Struct

See Also:
Window

Method Summary
static void setDefaultIcon(java.lang.String filename)
          Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
static void setIcon(org.gnu.gtk.Window window, java.lang.String filename)
          Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setIcon

public static void setIcon(org.gnu.gtk.Window window,
                           java.lang.String filename)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

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)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Sets the default icon to be used in all windows of the application

Parameters:
filename - The filename of the icon.