search for: idle_handl

Displaying 1 result from an estimated 1 matches for "idle_handl".

Did you mean: idl_handle
2007 Jul 20
0
[1124] trunk/wxruby2/samples/bigdemo/wxGauge.rbw: Use Wx::Timer instead of evt_idle to drive Gauge sample, to avoid 100%
...| Wx::GA_SMOOTH) - @g2.set_bezel_face(5) - @g2.set_shadow_width(5) - - @g3 = Wx::Gauge.new(self, -1, 50, Wx::Point.new(110, 140), Wx::Size.new(25,250), Wx::GA_VERTICAL) - @g3.set_bezel_face(3) - @g3.set_shadow_width(3) - - evt_idle {|event| idle_handler(event)} - end </del><ins>+ def initialize(parent, log) + super(parent, -1) + @log = log + @count = 0 </ins><span class="cx"> </span><del>- def idle_handler(event) - @count = @count + 1 - if @count > 50 -...