[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
2724.0. "Can't set icon pixmap" by HKOVC::TERENCE (From Middlesex, UWO) Tue May 08 1990 04:58
I was trying to set a window's icon pixmap with the following codes but
without success. Any suggestion?
Thanx in advance
-Terry
Pixmap pix;
pix = XCreatePixmapFromBitmapData(dpy,RootWindowOfScreen(scr),data,
data_width,data_height,BlackPixelOfScreen(scr),
WhitePixelOfScreen(scr),DefaultDepthOfScreen(scr);
xwmh.flags = IconPixmapHint | IconMaskHint;
xwmh.icon_pixmap = xwmh.icon_mask = pix;
XSetWMHints(dpy,win,&xwmh);
T.R | Title | User | Personal Name | Date | Lines |
---|
2724.1 | | CLTMAX::dick | Schoeller - Failed Xperiment | Tue May 08 1990 10:15 | 9 |
| Use foreground of 1, background of 0 and depth of 1.
If you are using mwm, the default depth of screen stuff will only work on
monochrome.
Otherwise it looks OK. I usually use the toolkit so I could miss something
here.
Dick
|
2724.2 | Doesn't work | HKOVC::TERENCE | From Middlesex, UWO | Tue May 08 1990 22:44 | 10 |
| Depth of 1 doesn't work.
Monochrome doesn't work.
Color system doesn't work.
I can use the pixmap to set the window background pixmap but not the
icon pixmap. Why?
Thanx
-Terry
|
2724.3 | in the mail | TOOLEY::B_WACKER | | Wed May 09 1990 10:59 | 1 |
| I mailed them a DISN/FSIN example.
|
2724.4 | Thanx | HKOVC::TERENCE | From Middlesex, UWO | Thu May 10 1990 01:02 | 0
|