summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-28 05:58:49 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-28 05:58:49 +0000
commit0fc75c38b1389aefe44d98cb72691c40ee46a20b (patch)
tree7f1744d9e1252a4ebf826877f643cddd18baf85b
parentefb1166cee5d3983049079f47c106906ce2de915 (diff)
downloadruby-0fc75c38b1389aefe44d98cb72691c40ee46a20b.tar.gz
ruby-0fc75c38b1389aefe44d98cb72691c40ee46a20b.tar.xz
ruby-0fc75c38b1389aefe44d98cb72691c40ee46a20b.zip
* for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/tk/lib/tk.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index dca4b8892..af9c63f72 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -1668,6 +1668,11 @@ module Tk
def Tk.update_idletasks
update(true)
end
+ def update(idle=nil)
+ # only for backward compatibility (This never be recommended to use)
+ Tk.update(idle)
+ self
+ end
=begin
# See tcltklib.c for the reason of why the following methods are disabled.