[comp.windows.x] how do I use the toggle widget

bill@gothamcity.jsc.nasa.gov (Bill Shirley) (05/23/91)

I am using X11R4, but I only have reference and programming books
(O'Reilly) that covers through R3.  I want to use the Toggle widget,
non existant before R4, to implement some radio buttons.

Would some one please give me a terse, short explanation of how to do
this?

Specifically how to set up the radio group and how and when to use
 the XtToggleSetCurrent, XtToggleUnsetCurrent, and XtToggleGetCurrent
 functions.

Thanks for your patients through my ignorance.

     ____     ____       ____			Bill Shirley
    / ___|   / ___|     / ___|			bill@gothamcity.jsc.nasa.gov
   |_|      |_|ciences |_|			_______________________________
    _omputer     _      _			Opinions expressed are obtained|
   | |___    ___| |    | |___orporation		by a room full of immortal apes|
    \____|  |____/      \____|			with unbreakable typewriters.  |
  						~~~~~~~~~~~DISCLAIMER~~~~~~~~~~~

gildea@expo.lcs.mit.EDU (Stephen Gildea) (05/23/91)

RTFM: mit/hardcopy/Xaw/widgets.PS or mit/doc/Xaw/Toggle

 < Stephen
   MIT X Consortium