fx/datatarget.rb
def onTimeout(sender, sel, ptr)
    # Increment the progress modulo 100
    @progressTarget.value = (@progressTarget.value + 1) % 100
  
    # Reset the timer for next time
    getApp().addTimeout(80, method(:onTimeout))
  end
# Timer expired; update the progress
Timer expired; update the progress
Timer expired ; update the progress
def onTimeout(sender, sel, ptr)
    @progressTarget.value = (@progressTarget.value + 1) % 100
    getApp().addTimeout(80, method(:onTimeout))
  end
def onTimeout ( sender , sel , ptr ) @progressTarget . value = ( @progressTarget . value + 1 ) % 100 getApp ( ) . addTimeout ( 80 , method ( :onTimeout ) ) end
Timer expired; update the progress
Timer expired ; update the progress
# Increment the progress modulo 100 # Reset the timer for next time
sender
sel
ptr