From: D T Date: 2003-06-18T22:06:53+09:00 Subject: Re: Tk canvas widget Id's --0-567302616-1055941605=:39422 Content-Type: text/plain; charset=us-ascii item.id # this will return the id of the item Dave John Fletcher wrote: Is it possible to access the Id's of objects declared within a Tk canvas widget? In Ruby item = TkcOval.new(parameters) returns a reference to the object. How can I get the Id? Thanks John --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! --0-567302616-1055941605=:39422 Content-Type: text/html; charset=us-ascii
item.id  # this will return the id of the item
 
Dave


John Fletcher <J.P.Fletcher@aston.ac.uk> wrote:
Is it possible to access the Id's of objects declared within a Tk canvas
widget?

In Ruby

item = TkcOval.new(parameters)

returns a reference to the object. How can I get the Id? Thanks

John






Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month! --0-567302616-1055941605=:39422--