class Iup::ProgressBar

A progress bar control, showing a percent-complete value. Typically used to show the progress of a long-running task running within a Timer.

Example

The following creates a vertical bar, starting at a value of 25 out of 50.

Iup::ProgressBar.new do |p|
  p.orientation = 'vertical'
  p.bgcolor = '255 0 128'
  p.fgcolor = '0 128 0'
  p.rastersize = '30x100'
  p.max = 50
  p.value = 25
end

Also see: ProgressDialog, Timer.