[comp.windows.x] XtNfont and XtNcursor

yhsieh@sal5.usc.edu (Yeongbin Hsieh) (10/31/88)

Is anybody out there knows how to set XtNfont, XtNcursor for the widgets 
defined in the Xtoolkits?  I know that we have to use the type FontInfo and the
type Cursor, but I could not seem to find the structure definition for 
FontInfo and Cursor (or are they just simple types?).



		 Yeongbin Hsieh
                 yhsieh@castor.usc.edu

swick@ATHENA.MIT.EDU (Ralph R. Swick) (11/01/88)

The correct representation types for these two resources in the
Athena widgets are:

	XtRFontStruct		XFontStruct*
	XtRCursor		Cursor

Note that the R2 documentation was in error in re. XFontStruct*.
XFontStruct is defined in <X11/Xlib.h> and Cursor is defined in <X11/X.h>.