Path: utzoo!utgpu!watserv1!ria!csd.uwo.ca!zebulon From: zebulon@csd.uwo.ca (Scott Feeney) Newsgroups: comp.windows.x Subject: String to Pixmap conversion? Keywords: String Pixmap conversion backgroundPixmap Xdefaults Message-ID: <163@ria.ccs.uwo.ca> Date: 20 Feb 90 02:16:19 GMT Sender: news@ria.ccs.uwo.ca Reply-To: zebulon@csd.uwo.ca (Scott Feeney) Organization: Computer Science Department - Univ. of Western Ontario Lines: 33 I follow this group fairly regularly and haven't seen this problem mentioned so I'm wondering what I'm doing wrong. I am trying to set things up in my .Xdefaults file so that Athena command widgets have a backgroundPixmap of (for arguments purposes) gray1. I gather (rightly or wrongly ?) from the manual that I can give the filename of the bitmap file I wish to be used as the value for backgroundPixmap and there will be an automagic conversion of String to Bitmap. The manual talks about String to Bitmap conversion although the Type required is Pixmap. The server (or whatever) realizes this and attempts to do the String to pixmap conversion and promptly throws up the following: Warning: No type converter registered for 'String' to 'Pixmap' conversion. Where am I going wrong? Pertinent data: X11R4 - Sun 3/60 - SunOS 4.0.3 - gcc-1.35 Xedit*Command*backgroundPixmap: gray1 \____________________________/ | I realize this _could_ be wrong, but it _does_ try to do the conversion... I am also assuming it will look in /usr/include/X11/bitmaps for the file gray1. TIA - scott --- Scott Feeney, Research Associate, Department of Computer Science The University of Western Ontario, London Canada, N6A 5B7 zebulon@csd.uwo.ca, zebulon@uwocsd.UUCP ---