Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "143) How can I add multi-colored icons to my application?"
Next document is "145) Why does XpmCreatePixmapFromData fail with a pixmap containing"
144) Can I use XmGetPixmap in Motif 1.2 to create colored images?
[Last modified: Oct 95]
Answer: Doug Rand (drand@sgi.com) writes:
XmGetPixmap only converts XBM [X bitmap] files in 1.2. In 2.0 it supports XPM
[X Pixmap] files. You can register a more capable converter and set the
pixmap via resources as a workaround. You can also use libXpm
directly...[Note that] even now there isn't a "standard" color pixmap file
format. There are several. It is relatively recently that many people have
settled on XPM. But even so not everyone has done this.
Parent document is top of "Motif FAQ (Part 5 of 9)"
Previous document is "143) How can I add multi-colored icons to my application?"
Next document is "145) Why does XpmCreatePixmapFromData fail with a pixmap containing"