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
commit2873dfd7196d65baf6fd4be8cd0bf4df0a067466 (patch)
tree6de50c5c8b65d7a896b06594a0305278ec3cce2f
parentc655f98d1d5d1492e91258f1a2fdc3ea653696e2 (diff)
downloadruby-2873dfd7196d65baf6fd4be8cd0bf4df0a067466.tar.gz
ruby-2873dfd7196d65baf6fd4be8cd0bf4df0a067466.tar.xz
ruby-2873dfd7196d65baf6fd4be8cd0bf4df0a067466.zip
* for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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.