Class: Qt::ScrollBar

Inherits:
Base show all
Defined in:
lib/Qt/qtruby4.rb

Instance Method Summary collapse

Instance Method Details

#range=(arg) ⇒ Object



1828
1829
1830
1831
1832
1833
1834
# File 'lib/Qt/qtruby4.rb', line 1828

def range=(arg)
  if arg.kind_of? Range
    return super(arg.begin, arg.exclude_end?  ? arg.end - 1 : arg.end)
  else
    return super(arg)
  end
end