[previous] [up] [next]     [index]
Next: set-status-text Up: frame Previous: on-subwindow-char

set-icon

Sets the large or small icon bitmap for this frame. Future changes to the bitmap do not affect the frame's icon.

The icon is used in a platform-specific way:

The bitmap for either icon can be any size, but most platforms scale the small bitmap to 16 by 16 pixels and the large bitmap to 32 by 32 pixels.

If a mask bitmap is not provided, then the entire (rectangular) bitmap is used as an icon.

If a mask bitmap is provided, the mask must be monochrome. In the mask bitmap, use black pixels to indicate the icon's region and use white pixels outside the icon's region. In the icon bitmap, use black pixels for the region outside the icon.



PLT