How can I create a multi-colored window manager icon?
[Last modified: Oct 95] Answer: The only portable way to do this is with icon windows. The WMShell widget supports icon windows with its XmNiconWindow resource. Set this to a window that your application has created. The window could be the XtWindow() of a realized shell widget. The window must be created with the default visual and colormap of its screen. Other requirements on icon windows are specified in section 4.1.9 of the X11R6 ICCCM. Note that some window managers provide alternate techniques for creating color icons; none of these are standard or portable.