Path: utzoo!utgpu!watmath!att!ucbvax!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!kit
From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson)
Newsgroups: comp.windows.x
Subject: Re: Drawing Graphics in a Widget
Message-ID: <8908171649.AA23402@expo.lcs.mit.edu>
Date: 17 Aug 89 16:49:57 GMT
References: <8908171335.AA06025@crdgw1.ge.com>
Sender: daemon@bloom-beacon.MIT.EDU
Organization: The Internet
Lines: 17


>         XtAddActions(actionsList, 1);

The advice is fine, except using XtAppAddActions is a more portable interface,
as XtAddActions will fail if you are not using XtInitialize().

When coding new programs please use XtApp* in favor of the non-app functions.
This will allow a more portable interface.  If you do not have an app-context
handy then just use XtWidgetToApplicationContext.


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213