Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!alphalpha.com!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x.motif Subject: Re: multi line labelString in app_defaults Message-ID: <901125131038.9491@alphalpha> Date: 25 Nov 90 17:10:38 GMT References: <741@echbull.bull.fr> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 12 > > I don't know how to specify the labelString of a pushbutton as > containing \n characters in an app_defaults file. If this isn't in the FAQ then it should be. The only way you can do this is to provide your own Xt converter to go from char* to XmString. The default one is XmStringCreate which (quite properly) does not do conversion of line feeds. Ideally it should check the current LANG setting and character set and do conversions if the character set is appropriate, but don't hold your breath.