Pop a window from the currently focused stack. If there is only one window on the stack, this prompts for exit.
(self)
| 227 | self.focus_changed() |
| 228 | |
| 229 | def pop(self) -> None: |
| 230 | """ |
| 231 | Pop a window from the currently focused stack. If there is only one |
| 232 | window on the stack, this prompts for exit. |
| 233 | """ |
| 234 | if self.focus_stack().pop(): |
| 235 | self.master.prompt_for_exit() |
| 236 | else: |
| 237 | self.refresh() |
| 238 | self.view_changed() |
| 239 | self.focus_changed() |
| 240 | |
| 241 | def stacks_sorted_by_focus(self): |
| 242 | """ |