org.gnu.gnome

Class WindowIcon


public class WindowIcon
extends Struct

See Also:
org.gnu.gtk.Window

Method Summary

static void
setDefaultIcon(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(Window window, 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.

Method Details

setDefaultIcon

public static void setDefaultIcon(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.

setIcon

public static void setIcon(Window window,
                           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