diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-01-21 06:35:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-01-21 06:35:17 +0000 |
commit | a8852f4ad9b57d829de228034258634beeb52ff9 (patch) | |
tree | 9459f73bf5b9e6c9601f9e3f4708682bf0e16d11 /lib | |
parent | 8373f59a324eb054b6ca8de8fe1d2a1634391ae4 (diff) |
tk.rb: update dropped
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@37 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tk.rb | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -241,6 +241,15 @@ module TkComm uninstall_cmd myid }) end + + def update(idle=nil) + if idle + tk_call 'update', 'idletasks' + else + tk_call 'update' + end + end + end module TkCore |