1 2 3 4 5 6 7 8 9
#!/usr/bin/env ruby require 'tk' TkButton.new(nil, 'text'=>"¤³¤ó¤Ë¤Á¤Ï¡¢À¤³¦", 'command'=>proc{print "¤³¤ó¤Ë¤Á¤Ï¡¢À¤³¦\n"; exit} ).pack Tk.mainloop