Changeset 1075:98d4c4481dd6 for src/mlx/gui
- Timestamp:
- 02/14/23 14:30:24 (22 months ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r1071 r1075 240 240 pass 241 241 242 def prepareShow(self): 243 """Prepare the page for showing, either initially on when later 244 returned to.""" 245 pass 246 242 247 def setHelp(self, help): 243 248 """Set the help string.""" … … 266 271 if self._defaultButton is not None: 267 272 self._defaultButton.grab_default() 273 274 def prepareHide(self): 275 """Prepare the page for hiding, either initially on when later 276 the user returned to it and then navigates away from it.""" 277 pass 268 278 269 279 def reset(self): … … 5930 5940 if finalize and not page._completed: 5931 5941 page.complete() 5942 page.prepareHide() 5932 5943 self.remove(page) 5933 5944 if fromPageShift is not None: … … 5940 5951 page._fromPage = fromPage 5941 5952 page.initialize() 5953 page.prepareShow() 5942 5954 self.show_all() 5943 5955 if fromPage is not None:
Note:
See TracChangeset
for help on using the changeset viewer.