# File tk/lib/tkextlib/tile.rb, line 356
def ttk_identify(x, y)
ret = tk_send_without_enc('identify', x, y)
(ret.empty?)? nil: ret
end
# File tk/lib/tkextlib/tile.rb, line 336
def ttk_instate(state, script=nil, &b)
if script
tk_send('instate', state, script)
elsif b
tk_send('instate', state, Proc.new(&b))
else
bool(tk_send('instate', state))
end
end
# File tk/lib/tkextlib/tile.rb, line 347
def ttk_state(state=nil)
if state
tk_send('state', state)
else
list(tk_send('state'))
end
end
Commenting is here to help enhance the documentation. For example, sample code, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.