Method: TkTextListBox#button_press

Defined in:
ext/ae-editor/ae-editor.rb

#button_press(x, y) ⇒ Object



565
566
567
568
569
# File 'ext/ae-editor/ae-editor.rb', line 565

def button_press(x,y)
  _index = self.index("@#{x},#{y}")
  _line = _index.split('.')[0].to_i
  self.select(_line)
end