Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
How do I go about get a screen image set as a window background? What (I think) I want to do is read a screen image with GetImage and then set that image as a background with SetWindowBackgroundPixmap The problem seems to be that GetImage returns a image structure... but SetWindowBackgroundPixmap wants to get a Pixmap identifer How do I get the returned image structure converted to a pixmap ? Anu ideas ?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1630.1 | MELTIN::dick | Gvriel::Schoeller | Wed Oct 25 1989 16:45 | 7 | |
First you have to use XCreatePixmap to get a pixmap of the right size. Then use XPutImage to put the image in the pixmap. Then use XSetWindowBackgroundPixmap to make that pixmap be the background of the window. Dick | |||||
1630.2 | VANISH::BAILEY | SS$_end_of_tether | Thu Oct 26 1989 18:59 | 2 | |
Thanks... |