Method: Tk::XScrollable#xscrollcommand
- Defined in:
- lib/tk/scrollable.rb
#xscrollcommand(cmd = Proc.new) ⇒ Object
9 10 11 12 13 |
# File 'lib/tk/scrollable.rb', line 9 def xscrollcommand(cmd=Proc.new) configure_cmd 'xscrollcommand', cmd # Tk.update # avoid scrollbar trouble self end |