Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!mek From: mek@jpl-devvax.jpl.nasa.gov (Mike Ketchmere) Newsgroups: comp.windows.x.motif Subject: Setting iconPixmap from a resource file Message-ID: <1991Jun12.205222.5881@jpl-devvax.jpl.nasa.gov> Date: 12 Jun 91 20:52:22 GMT Reply-To: mek@devvax.JPL.NASA.GOV (Mike Ketchmere) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 16 I am trying to set the values of the resources of the icon associated with my application from a resource file. I can set the iconName resource with no problem, but setting the iconPixmap resource yields no results. Looking at the resource file for the X application 'xcalc', I see that the value of the iconPixmap gets set as follows: XCalc*iconPixmap: calculator However, the same trick will not for my application. I know I can set the pixmap from within the actual code, and also by using the iconImage resource in my window manager resource file, but I'd like to know if there is a way to set the value from a resource file as in the xcalc application. Any help would be appreciated. Mike Ketchmere mek@devvax.jpl.nasa.gov