tan9657@cs.rit.edu (Napoli Thomas A) (09/28/90)
(This may be a reposting of an earlier note. Sorry if that's the case, but I can't seem to verify whether the original message got out.) How can I dynamically change the icon (Pixmap) used by the window manager (WM) for an application after I enter XtAppMainLoop? I am using X11R4 and Xaw on a Sun 3 running OpenLook Window Manager (I've also tried twm). I set the iconPixmap resource of the applicationShell to a Pixmap before calling XtAppMainLoop(). The WM uses this when iconifying the application, but I can't change the iconPixmap resource after this point. (The intent is to change the icon based on certain events monitored by the application). I've tried both XtSetValues on the applicationShell and XSetStandardProperties to change the icon Pixmap, but neither works. Perhaps these WMs only pick up the properties (WMHints?) once for the application. It seems like the Intrinsics, Xlib and ICCCM should make this possible. Any help/suggestions would be greatly appreciated. Thanks (in advance), -------------------------------------------------------------------- Tom Napoli tan@ssd.kodak.com --------------------------------------------------------------------