Module: FX::RangeAccessor

Included in:
Slider, Spinner
Defined in:
lib/libGUIb16.rb,
lib/libGUIb14.rb

Instance Method Summary collapse

Instance Method Details

#rangeObject



382
383
384
# File 'lib/libGUIb16.rb', line 382

def range
  getRange
end

#range=(val) ⇒ Object



377
378
379
380
# File 'lib/libGUIb16.rb', line 377

def range= val
  val = val.last..val.first if val.last < val.first
  setRange val
end
OSZAR »