[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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.RTitleUserPersonal
Name
DateLines
2724.1CLTMAX::dickSchoeller - Failed XperimentTue May 08 1990 10:159
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.2Doesn't workHKOVC::TERENCEFrom Middlesex, UWOTue May 08 1990 22:4410
    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.3in the mailTOOLEY::B_WACKERWed May 09 1990 10:591
I mailed them a DISN/FSIN example.
2724.4ThanxHKOVC::TERENCEFrom Middlesex, UWOThu May 10 1990 01:020