Changeset 834:5651e303daa9 for src/mlx/gui/faultexplain.py
- Timestamp:
- 04/17/17 06:47:25 (7 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/faultexplain.py
r833 r834 94 94 buffer.get_end_iter(), True) 95 95 96 @explanation.setter97 def explanation(self, explanation):98 """Set the explanation."""99 self._explanation.get_buffer().set_text(explanation)100 101 96 @property 102 97 def hasExplanation(self): … … 131 126 132 127 class FaultExplainWidget(gtk.Frame): 133 """The widget for the fa ults and their explanations."""128 """The widget for the failts and their explanations.""" 134 129 @staticmethod 135 130 def getFaultFrame(alignment): … … 240 235 numExplanations = self._numExplanations - 241 236 (1 if hasExplanation else 0)) 242 243 def setExplanation(self, id, explanation):244 """Set the explanation for the fault with the given ID"""245 self._faultWidgets[id][1].explanation = explanation246 237 247 238 def reset(self):
Note:
See TracChangeset
for help on using the changeset viewer.