struct RadioGroup a < WWidget StdOpt, Cell(Maybe a)
radio :: (Show a, Read a) => BasicWindow b -> [([RadioButtonOpt],a)]
-> [StdOpt] -> Int -> Cmd(RadioGroup a)
A radio group is a WWidget StdOpt and also a Cell for values
that can be translated to and from Strings. The function
radio
can be used to create RadioGroup instances. It has
four arguments:
Arguments are
Arguments are the Tk environment, window title, message in the window, default text in entry and callback procedure.