Tk Canvas help

  • Thread starter Jayson Williams
  • Start date
J

Jayson Williams

Where could I find some basic instruction on the use of the canvas
widget and its methods in Ruby Tk?

Thanks
 
H

Hidetoshi NAGAI

From: "Jayson Williams" <[email protected]>
Subject: Tk Canvas help
Date: Tue, 8 Jan 2008 01:17:33 +0900
Message-ID: said:
Where could I find some basic instruction on the use of the canvas
widget and its methods in Ruby Tk?

Please see sample files under "<ruby-source-tree>/ext/tk/sample/".
And run "<ruby-source-tree>/ext/tk/sample/deme-en/widget",
select some of canvas widget demos,
click "Show Code" button, try to modify the code,
and click "Rerun Demo" button. :)
Modification on the code window never change the original file.

After that, please see tk/canvas.rb and Tcl/Tk's canvas manual,
and compare Ruby/Tk's methods and Tcl/Tk's canvas subcommands.
Possibly you can get answers for many of your questions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top