type=class
superclass=TkButton
included=
extended=
library=tk.radiobutton

饸ܥ󥦥åȤΥ饹Ǥ
饸ܥϡʣܤΤ1Ĥ򤹤륦åȤǤ

  require "tk"
  v  = TkVariable.new
  c = proc {print v, "\n"}
  TkRadioButton.new {text "a"; variable v; value 1; select;   command c; pack}
  TkRadioButton.new {text "b"; variable v; value 2; deselect; command c; pack}
  TkRadioButton.new {text "c"; variable v; value 3; deselect; command c; pack}
  Tk.mainloop
