Pop off the stack, return True if we're already at the top.
(self, *args, **kwargs)
| 105 | self.call("layout_pushed", prev) |
| 106 | |
| 107 | def pop(self, *args, **kwargs): |
| 108 | """ |
| 109 | Pop off the stack, return True if we're already at the top. |
| 110 | """ |
| 111 | if not self.overlay and len(self.stack) == 1: |
| 112 | return True |
| 113 | self.call("layout_popping") |
| 114 | if self.overlay: |
| 115 | self.overlay = None |
| 116 | else: |
| 117 | self.stack.pop() |
| 118 | |
| 119 | def call(self, name, *args, **kwargs): |
| 120 | """ |