Path: utzoo!utgpu!watserv1!watmath!att!pacbell!pacbell.com!mips!zaphod.mps.ohio-state.edu!rpi!uupsi!psivax!quad1!carl From: carl@quad1.quad.com (Carl Priddy) Newsgroups: comp.windows.x.motif Subject: Re: XmStringDraw/Pixmap Problem Message-ID: <14893@gouda.quad.com> Date: 8 Sep 90 18:58:00 GMT Organization: Quadratron Systems Inc, Thousand Oaks Ca Lines: 15 > ALL I WANT TO DO IS TO DRAW A (Xm) COMPOUND STRING INTO A PIXMAP. > WHY IS THERE NO XmWay TO DO THIS? Let me at 'em, c'mon! Let me at 'em! > Hmmm...there isn't a direct way, but you CAN use the XmString() functions to retrieve segments, and then use XDrawImageString() (or something like it) to draw to the pixmap. I didn't try XmStringDraw with a pixmap instead of window, since the syntax would have said "drawable" if that were possible. The one instance that you can count on the documentation being accurate is when it is telling you you CAN'T do something that it would seem you SHOULD be able to. I certainly understand your frustration. Apparently, the dictionaries at OSF either don't contain the word, "convenience", or have a radically different definition. Their idea of a "convenience function", is anything but. I'd add a ":-", but this is unfortunately too true. Good luck, carl.