class Iup::Dial

Creates a dial for setting an angular variable.

Example

The following creates a horizontal dial which updates a label whenever its value changes.

Iup::Dial.new do |d|
  d.valuechanged_cb = ->{
  label.title = "dial value: #{'%0.2f' % d.value}"
  Iup::DEFAULT
  }
end