Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: Motif FAQ (Part 9 of 9)
Previous Document: 325) How do I programatically control xwd to dump a specific window?
Next Document: 327) Can I write a multi-threaded Motif application?


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

326) How can I display an xwd in a window (without using xwud)?


[Last modified: Sept 95]

Answer:

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

Ken Lee



Top Document: Motif FAQ (Part 9 of 9)
Previous Document: 325) How do I programatically control xwd to dump a specific window?
Next Document: 327) Can I write a multi-threaded Motif application?

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)

Last Update May 13 2007 @ 00:23 AM