In Files

  • tk/lib/tkextlib/tile/tprogressbar.rb

Parent

Included Modules

Class/Module Index [+]

Quicksearch

Tk::Tile::Progressbar

Public Class Methods

style(*args) click to toggle source
 
               # File tk/lib/tkextlib/tile/tprogressbar.rb, line 28
def self.style(*args)
  [self::WidgetClassName, *(args.map!{|a| _get_eval_string(a)})].join('.')
end
            

Public Instance Methods

start(interval=None) click to toggle source

def step=(amount)

tk_send_without_enc('step', amount)

end

 
               # File tk/lib/tkextlib/tile/tprogressbar.rb, line 39
def start(interval=None)
  if Tk::Tile::TILE_SPEC_VERSION_ID < 5
    tk_call_without_enc('::tile::progressbar::start', @path, interval)
  else
    tk_send_without_enc('start', interval)
  end
end
            
step(amount=None) click to toggle source
 
               # File tk/lib/tkextlib/tile/tprogressbar.rb, line 32
def step(amount=None)
  tk_send_without_enc('step', amount).to_f
end
            
stop(amount=None) click to toggle source
 
               # File tk/lib/tkextlib/tile/tprogressbar.rb, line 47
def stop(amount=None)
  if Tk::Tile::TILE_SPEC_VERSION_ID < 5
    tk_call_without_enc('::tile::progressbar::stop', @path)
  else
    tk_send_without_enc('stop', amount)
  end
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.