comparison getan/view.py @ 254:70e4f59f991c

Ignore mouse events for the moment
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 11 Apr 2013 10:34:27 +0200
parents 8be9c557e4b5
children 2df167b07763
comparison
equal deleted inserted replaced
253:fb412892efb5 254:70e4f59f991c
326 return self.palette 326 return self.palette
327 327
328 def keypress(self, size, key): 328 def keypress(self, size, key):
329 self.controller.state.keypress(size, key) 329 self.controller.state.keypress(size, key)
330 330
331 def mouse_event(self, size, event, button, col, row, focus):
332 #TODO currently ignore mouse events
333 return True
334
331 def update_entries(self, entries): 335 def update_entries(self, entries):
332 self.entr_list.set_rows(entries) 336 self.entr_list.set_rows(entries)
333 337
334 def set_focus(self, elem): 338 def set_focus(self, elem):
335 if elem in [0, 1]: 339 if elem in [0, 1]:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)