Parent document is top of "Motif FAQ (Part 9 of 9)"
Previous document is "329) How do I programatically control xwd to dump a specific window?"
Next document is "331) Can I write a multi-threaded Motif application?"
330) How can I display an xwd in a window (without using xwud)?
[Last modified: Sept 95]
Answer: Ken Lee (http://www.rahul.net/kenton/) writes:
1. read the xwd file into an XImage
2. create a pixmap and XPutImage the image into the pixmap
3. use the pixmap as the XmNlabelPixmap of a label widget
Parent document is top of "Motif FAQ (Part 9 of 9)"
Previous document is "329) How do I programatically control xwd to dump a specific window?"
Next document is "331) Can I write a multi-threaded Motif application?"