org.gnu.gnome

Class WindowIcon

public class WindowIcon extends Struct

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may have an equivalent in java-gnome 4.0; have a look for org.gnome.gnome.WindowIcon.

See Also: org.gnu.gtk.Window

Method Summary
static voidsetDefaultIcon(String filename)
Sets the default icon to be used in all windows of the application
static voidsetIcon(Window window, String filename)
Set an icon for a window.

Method Detail

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