require 'tkmove3.rb' include TestBed c = TkCanvas.new.pack lines = TkdLines.new( c ) def lines.new_item(x, y) TkcLine.new(@canvas, x, y, x, y, 'width'=>2, 'smooth'=>true) end lines.bind testbed(c) Tk.mainloop