[comp.windows.x] Xaw radio buttons

duanev@kauai.ACA.MCC.COM (Duane Voth) (03/30/89)

I'm looking for examples on who to do "radio" buttons with
Athena widgets. (radio buttons: click to select one and all
others unselect).  I'm thinking about adding a clear() action
to the Command widget and replacing the default translations
with:

*Translations:#replace\
        <Btn1Down>:     clear() set() notify()

Any pointers or suggestions would be appreciated.

-- 
--- Effectiveness is the measure of Truth:
----            ALL systems are arbitrary!
--- duane voth              duanev@mcc.com
--

duanev@kauai.ACA.MCC.COM (Duane Voth) (03/30/89)

Looks like the list widget will do a nice job of this.

duane

kit@ATHENA.MIT.EDU (Chris D. Peterson) (03/31/89)

> I'm looking for examples on who to do "radio" buttons with
> Athena widgets.

I have implemented a Radio Toggle Widget for the Athena widget set, unfortunatly
it is so tied to other changes we are making in preparation for the 
next release of X, you will have to wait until that release is out for this
new functionality to be avaliable.  I mention it here not to tantilize
you with things that you cannot have for a few months, but to inform you
what will be avaliable so that time is not lost by re-inventing the wheel.

As a previous poster mentioned the Athena List Widget which I wrote as
an addition to the Athena Widget Set for Release 3 will serve as a pretty
fair radio box, although not nearly as flexible as a Radio Toggle Widget will
be.

						Chris D. Peterson     
						MIT X Consortium /
						Project Athena 

Net:	kit@athena.mit.edu		
Phone: (617) 253 - 1326			
USMail: MIT - Room E40-321
	77 Massachusetts Ave.		
	Cambridge, MA 02139