[comp.windows.x.motif] XmNiconPixmap property

scott@sting.Berkeley.EDU (Scott Silvey) (12/10/90)

How does one get applications to properly register their icons to mwm?

I've tried setting the "XmNiconPixmap" property of the shell and first
  child in my application to a pixmap which I create with XmGetPixmap()
  or XCreatePixmapFromBitmapData(), but mwm keeps saying "Invalid icon bitmap"!

The funny thing is that both twm and tvtwm (of course) react properly.
  Do I also have to create a window for the icon or what?

Thanks for your help ...

/------------------------------------------------------------------------------\
| Scott Silvey            | Ronald Reagan on Pac Man:                          |
| scott@xcf.berkeley.edu  | "Someone told me it was a round thing that gobbles |
| Flames to /dev/null.    |  up money, but I thought that was Tip O'Neill."    |
\------------------------------------------------------------------------------/