Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ucselx!bionet!agate!ucbvax!osf.org!meeks From: meeks@osf.org (W. Scott Meeks) Newsgroups: comp.windows.x.motif Subject: Re: XmNdialogTitle Message-ID: <9011301606.AA27933@osf.osf.org> Date: 30 Nov 90 16:05:49 GMT References: <901126164802.14459@alphalpha> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 18 >> Is there any reason why XmNdialogTitle is an XmString? >> Isn't any font/charset info lost when the XmString is >> converted to a char*? Is this info somehow passed to the >> window manager allowing different fonts within a title bar? > >I think it is possible to specify the character set (using >compound strings) in R4, although I haven't tried yet. > Actually the XmString in XmNdialogTitle is converted to Compound Text (XPG Compound Text standard for ICCCM), which is typed in Motif as char*, before it is sent to MWM. So all the font/charset information is retained and it is possible to have multifont window titles. Looks pretty cool actually. W. Scott Meeks Open Software Foundation meeks@osf.org (617) 621-7229