Mercurial > urwid-satext
comparison urwid_satext/sat_widgets.py @ 81:0ebd13729039
fixes default values for methods selectValue(s) of class List
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 07 May 2014 19:49:07 +0200 |
parents | 2d66ac0f4d75 |
children | c456beff1779 |
comparison
equal
deleted
inserted
replaced
80:2d66ac0f4d75 | 81:0ebd13729039 |
---|---|
577 return self.genericList.getSelectedValues() | 577 return self.genericList.getSelectedValues() |
578 | 578 |
579 def changeValues(self, new_values): | 579 def changeValues(self, new_values): |
580 return self.genericList.changeValues(new_values) | 580 return self.genericList.changeValues(new_values) |
581 | 581 |
582 def selectValue(self, value, move_focus): | 582 def selectValue(self, value, move_focus=True): |
583 return self.genericList.selectValue(value, move_focus) | 583 return self.genericList.selectValue(value, move_focus) |
584 | 584 |
585 def selectValues(self, values, move_focus): | 585 def selectValues(self, values, move_focus=True): |
586 return self.genericList.selectValues(values, move_focus) | 586 return self.genericList.selectValues(values, move_focus) |
587 | 587 |
588 def render(self, size, focus=False): | 588 def render(self, size, focus=False): |
589 return self.displayWidget(size, focus).render(size, focus) | 589 return self.displayWidget(size, focus).render(size, focus) |
590 | 590 |