The current top widget - either a window or the active overlay.
(self)
| 90 | return self.windows[self.stack[-1]] |
| 91 | |
| 92 | def top_widget(self): |
| 93 | """ |
| 94 | The current top widget - either a window or the active overlay. |
| 95 | """ |
| 96 | if self.overlay: |
| 97 | return self.overlay |
| 98 | return self.top_window() |
| 99 | |
| 100 | def push(self, wname): |
| 101 | if self.stack[-1] == wname: |
no test coverage detected