An icon is a small rectangular bitmap usually used for denoting a minimized application. It is optional (but desirable) to associate a pertinent icon with a frame using set-icon. The same icon can be used for multiple frames.
An icon can also be used with draw-icon.
The name and flags arguments are as in load-file, but some additional flag values are available: