Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x.motif Subject: Re: Setting iconPixmap from a resource file Message-ID: <1991Jun12.153758@wsl.dec.com> Date: 12 Jun 91 22:37:58 GMT References: <1991Jun12.205222.5881@jpl-devvax.jpl.nasa.gov> Sender: news@pa.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 21 In article <1991Jun12.205222.5881@jpl-devvax.jpl.nasa.gov>, mek@jpl-devvax.jpl.nasa.gov (Mike Ketchmere) writes: |> 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. This is because the Athena vendor shell widget installs a string-to-bitmap resource converter, while yours does not. You may want to add such a converter to your vendor shell. Many vendors do this. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee