Changeset 99:b55ca557d5e9 for src/mlx/gui
- Timestamp:
- 04/21/12 15:08:59 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r97 r99 243 243 """Get the flight defects.""" 244 244 return self._flightInfo.flightDefects 245 246 @property 247 def delayCodes(self): 248 """Get the delay codes.""" 249 return self._flightInfo.delayCodes 245 250 246 251 def run(self): -
src/mlx/gui/info.py
r98 r99 120 120 buffer.get_end_iter(), True)) 121 121 122 @property 123 def delayCodes(self): 124 """Get the list of delay codes checked by the user.""" 125 codes = [] 126 for index in range(0, len(FlightInfo._delayCodes)): 127 if self._delayCodeWidgets[index].get_active(): 128 codes.append(FlightInfo._delayCodes[index][0]) 129 return codes 130 122 131 def enable(self): 123 132 """Enable the flight info tab."""
Note:
See TracChangeset
for help on using the changeset viewer.