# Tk Canvas help

**URL:** <https://www.ruby-forum.com/t/tk-canvas-help/125268>\
**Category:** Ruby\
**Created:** [January 7, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/tk-canvas-help/125268 "2008-01-07T17:18:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jayson](https://www.ruby-forum.com/u/jayson)\
**Post date:** [January 7, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/tk-canvas-help/125268/1 "2008-01-07T17:18:30Z")

</div>

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

Thanks

---

<div class="post-metadata">

**Author:** ![jayson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jayson](https://www.ruby-forum.com/u/jayson)\
**Post date:** [January 9, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/tk-canvas-help/125268/2 "2008-01-09T16:08:44Z")

</div>

From: “Jayson W.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Tk Canvas help  
Date: Tue, 8 Jan 2008 01:17:33 +0900  
Message-ID:  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> 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 “/ext/tk/sample/”.  
And run “/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.
