summaryrefslogtreecommitdiff
path: root/ext
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
commit92e7fccf4111e98e8e9229c5eda086d85500b53d (patch)
tree7f1744d9e1252a4ebf826877f643cddd18baf85b /ext
parent6d83f3afbdeaeccf661e73027cf6214f4534f899 (diff)
* for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 dca4b8892e..af9c63f72a 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.