Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!mips!apple!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: AsciiDiskWidget Message-ID: <9010021940.AA27996@excess.lcs.mit.edu> Date: 2 Oct 90 19:40:11 GMT References: <9010011257.AA09735@pcs.cnc.edu..cnc.edu> Sender: root@athena.mit.edu (Wizard A. Root) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 19 > We are trying to compile XMTOOL, (With -DXAW_BC) but it says that > AsciiDiskWidget is undefined, and bombs. > > The Athena documentation states that the AsciiText widget replaces it. > > What is the declaration syntax for using the AsciiText widget? The declaration is the same as for any other Athena widget; you need to include the public header file for that widget, and you need to know the widget class name in order to create a widget. This information, and the names and definitions of widget resources, are given in the Athena widget set manual, and there are examples in the source tree under the directory mit/examples/Xaw. #include Widget text; text = XtCreateManagedWidget("text", asciiTextWidgetClass, parent, args, n);