T
tony summerfelt
Kero wrote on 7/17/2005 6:05 PM:
ease.
if the first line were:
b=TkButton.new(text=>"quit").pack
i'd be a lot happier. i realize that tk has to be shoehorned into
ruby's oo'ness.
ignore me. could be i'm just frustrated at trying to recreate my own
interface (tkblog) in ruby
and in Ruby/Tk you do:
b = TkButton.new(nil, "text"=>"quit").pack
b.command { exit }
I fail to see what you're trying to argue here...
ease.
if the first line were:
b=TkButton.new(text=>"quit").pack
i'd be a lot happier. i realize that tk has to be shoehorned into
ruby's oo'ness.
ignore me. could be i'm just frustrated at trying to recreate my own
interface (tkblog) in ruby