[comp.windows.x] radio buttons in Athena Widgets?

chertzer@swindle.Berkeley.EDU (Cynthia Hertzer) (07/26/90)

> Is there an easy way to implement radio-like buttons using the Athena
> command widget?  I want the button to stay highlighted after it is pressed
> and to unhighlight (if necessary) another button.  I want the other button
> to have the same effect on this button.

The Athena Toggle widget does what you want. It's documented in the 
R4 _Athena Widget Set - C Language Interface_, section 3.8.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Cynthia Hertzer
chertzer@scam.berkeley.edu

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%