Contents Up Previous Next

Icon

An icon is a small bitmap which can be used to decorate a minimized frame. There are platform-specific ways of creating an icon.

icon-create
icon-delete
icon-get-height
icon-get-width
icon-load-from-file


icon-create

long ( icon-create string fileOrResource)

Creates an icon. Under X, the argument must be the filename of a valid XBM (X bitmap) file. Under Windows, the argument must be the name of an icon resource compiled into the current executable.

Use frame-set-icon to set the icon of a frame.


icon-delete

long ( icon-delete long icon-id)

Deletes the given icon.


icon-get-height

long ( icon-get-height long icon-id)

Gets the height of the icon.


icon-get-width

long ( icon-get-width long icon-id)

Gets the width of the icon.


icon-load-from-file

long ( icon-load-from-file string file, string bitmap-type)

Loads an icon from a file. Under X, the argument must be the filename of a valid XBM (X bitmap) file. Under Windows, the argument must be the filename of a Windows icon file.

Under X, the permitted icon types in the bitmap-type are:

Under Windows, the permitted types are: