summaryrefslogtreecommitdiff
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
commit2d464611a8a5aa23386986bb1532c322e22cd1af (patch)
tree6de50c5c8b65d7a896b06594a0305278ec3cce2f
parenta99ce7f39cb35503eb9373992e09685bb1999d68 (diff)
* for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])
git-svn-id: svn+ssh://ci.ruby-lang.org/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 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.