Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ntvax!iex!neptune!roy From: roy@neptune.iex.com (Roy Cantu) Newsgroups: comp.windows.x Subject: How do you set widget fonts with XtSetArg? Message-ID: Date: 28 Jun 90 18:43:33 GMT Sender: news@iex.uucp (C News) Distribution: comp Organization: IEX Corporation Lines: 39 First of all, I would like to apologize for the butchered version of my previous posting asking for help with the ascii Text Widget. As of now, the question still remains as to how one may go about saving the contents of the ascii Text widget. Any suggestions? However, the most recent problem involves fonts. I have yet to uncover a method of setting widget fonts using XtSetArg. For example, the Athena Label widget possesses the attribute XtNfont which I would like to set as such: i = 0; XtSetArg(args[i], XtNfont, ?????); i++; XtSetValues(label_widget, args, i); But what belongs in the ??????? I have tried many things, including: -adobe-helvetica-hold-o-normal--24-240-75-75-p-138-iso8859-1 "-adobe-helvetica-hold-o-normal--24-240-75-75-p-138-iso8859-1" 9x15 /usr/include/X11....somefontfilename Apparently, I am way in left field. Still, I would like to have a font in my X Window program other than the default. PLEASE tell me what to put in the ?????? !!!! Thank you, roy