[comp.windows.x] Bug in Xaw documentation?

jkh@pcsbst.UUCP (Jordan K. Hubbard) (01/05/89)

X Toolkit Athena Widgets - C Language Inteface
Page 30:

	...
	void XtTextSetSelection(w, left, right)
		Widget w;
		XtTextPosition leftm right;

	w		Specifies the window ID.
	left		Specifies the character position at which ....
	...

w specifies the WINDOW ID? Should that not be the "Widget" ID?
"w" is described as the Window ID everywhere else on the page too, so
that while I'm pretty sure it's a typo, I'm not positive.

OOh yeah, this is in the R3 documention (which just arrived from
the printshop).

				Jordan Hubbard
				pyramid!pcsbst!jkh

swick@ATHENA.MIT.EDU (Ralph R. Swick) (01/05/89)

>	void XtTextSetSelection(w, left, right)
> w specifies the WINDOW ID? Should that not be the "Widget" ID?

Yep, absolutely.  The same error appears in the descriptions
of XtTextGetSelectionPos (3.3.4), XtTextReplace (3.3.5) and
JumpProc (3.4).