summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-02 11:49:46 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-02 11:49:46 +0000
commit851a9c31e8e74cc5cfeef4aceab6b56cefadd973 (patch)
tree217e8b830901ceec619b986fc46966acc71ed84a /ext/tk/lib
parent582580e35d01f9704f518281ef5e3a010eb6d9a3 (diff)
downloadruby-851a9c31e8e74cc5cfeef4aceab6b56cefadd973.tar.gz
ruby-851a9c31e8e74cc5cfeef4aceab6b56cefadd973.tar.xz
ruby-851a9c31e8e74cc5cfeef4aceab6b56cefadd973.zip
* ext/tk/lib/tkextlib/tile/tprogressbar.rb: Tk::Tile::TProgressbar#start
takes optional argument `interval'. * ext/tk/sample/tkextlib/tile/demo.rb: emulate Tk::Tile::TProgressbar with Tk::Tile::TProgress in tile 0.4. (repeating buttons demo) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
-rw-r--r--ext/tk/lib/tkextlib/tile/tprogressbar.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tkextlib/tile/tprogressbar.rb b/ext/tk/lib/tkextlib/tile/tprogressbar.rb
index 3f47cd9b8..238a458c0 100644
--- a/ext/tk/lib/tkextlib/tile/tprogressbar.rb
+++ b/ext/tk/lib/tkextlib/tile/tprogressbar.rb
@@ -34,8 +34,8 @@ class Tk::Tile::TProgressbar
tk_send_without_enc('step', amount)
end
- def start
- tk_call_without_enc('::tile::progressbar::start', @path)
+ def start(interval=None)
+ tk_call_without_enc('::tile::progressbar::start', @path, interval)
end
def stop