Parent document is top of "Motif FAQ (Part 9 of 9)"
Previous document is "332) How can I dump my widget instance tree in a way that reflects"
Next document is "334) How can I display a gif/jpeg/tiff picture in a widget?"

333) How do I convert my xpm file into a Pixmap? (The xpm file is

basically a C variable which I can #include.)

[Last modified: Sept 95]

Answer:  Use XpmCreatePixmapFromData() See the XPM library documentation for
full examples and details.

Ken Lee, http://www.rahul.net/kenton/

Parent document is top of "Motif FAQ (Part 9 of 9)"
Previous document is "332) How can I dump my widget instance tree in a way that reflects"
Next document is "334) How can I display a gif/jpeg/tiff picture in a widget?"