Changeset 840:62cef31d250a for src/mlx/gui
- Timestamp:
- 04/17/17 07:08:10 (8 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/delaycodes.py
r834 r840 380 380 self.show_all() 381 381 382 def activateCode(self, code): 383 """Check the checkbox for the given code.""" 384 index = 0 385 for (type, data) in self._delayCodeData[2]: 386 if type==DELAYCODE: 387 if code==data[0].strip(): 388 self._checkButtons[index].set_active(True) 389 break 390 index += 1 391 382 392 def _delayCodesChanged(self, button): 383 393 """Called when one of the delay codes have changed.""" -
src/mlx/gui/info.py
r834 r840 168 168 self._delayCodeTable.reset() 169 169 170 def activateDelayCode(self, code): 171 """Active the checkbox corresponding to the given code.""" 172 self._delayCodeTable.activateCode(code) 173 170 174 def delayCodesChanged(self): 171 175 """Callewd when the delay codes have changed."""
Note:
See TracChangeset
for help on using the changeset viewer.