jhs@monet.wbst128.xerox.com (Hans Schlichter) (06/01/89)
I am using X11/R3, the Athena Toolkit, Sun 4/260 under OS4.0 and twm. I ran into a strange problem where the window manager displays the icon of my application, but not the icon name (it just displays empty space). I have the following application setup: step 1: create toplevel shell with allowshellresize true; step 2: create the initial set of widgets and realize the toplevel shell; step 3: interpret some additional data which might cause a resizing of the toplevel shell; step 4: call XtSetValues for setting title, icon name and icon pixmap If I execute the steps as inidicated I don't get any icon name. I looked at the shell data structure before it returns to the main event loop, and it contained all the right information. If I don't allow resizing of the shell, I get all the icon information (name and pixmap), but if the information in step 3 is to long it is cut off (as everyone can expect). If I don't set the icon pixmap, it displays the icon name correctly but now I don't have any icon pixmap. If I exchange step 3 and step 4, the icon information is displayed correctly (name and pixmap), but now I have a problem with my toplevel shell. It is expanded according to the size of the data generated by step 3 but the data themselves are not shown. I just see empty space. Does anybody have any idea what is wrong or what else I could try? Thanks /Hans ArpaNet: schlichter.wbst128@xerox.com