[comp.windows.x] any luck in using the icons w/ Xmh ?

wicinski@nrl-cmf.UUCP (Tim Wicinski) (11/29/88)

has anyone had any luck in integrating the icons (they'll do) that came
with Xmh in R3 to work as Xresources? If I try:
	xmh -xrm "Xmh*folderButtons.close.bitmap: close.i"

i get Xt Toolkit errors complaining about cannot convert string to pixmap. 
I know that, and was wondering how to get xrdb to recognize pixmap resource 
types? (ie, is some weird use of XCreatePixmapFromBitmapData needed in my
.Xresources file?)

my intuition is that Xt can deal with it, i'm just missing a boat as to how to 
shove pixmaps in as resources.

thanks
tim

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (12/07/88)

    If I try:
	xmh -xrm "Xmh*folderButtons.close.bitmap: close.i"
    i get Xt Toolkit errors complaining about cannot convert string to pixmap. 


Take a look at clients/xmh/icons/XmhIcons.ad.  You need to specify
the BitmapFilePath resource.

swick@ATHENA.MIT.EDU (Ralph R. Swick) (12/09/88)

         If I try:
     	xmh -xrm "Xmh*folderButtons.close.bitmap: close.i"
         i get Xt Toolkit errors complaining about cannot convert string to pixmap. 

     [rws]
     Take a look at clients/xmh/icons/XmhIcons.ad.  You need to specify
     the BitmapFilePath resource.

... or specify a full pathname for the bitmap resource value:
xmh -xrm "Xmh*folderButtons.close.bitmap: /X11R3/clients/xmh/icons/close.i"