|
wxMaxima
|
The narrow "something in the document changed" surface a WorksheetDocument needs to poke its view. More...
Go to the source code of this file.
Data Structures | |
| class | WorksheetDocumentView |
| The view notifications a WorksheetDocument emits when it edits itself. More... | |
The narrow "something in the document changed" surface a WorksheetDocument needs to poke its view.
When the document edits its own structure (inserting or removing cells) it has to tell the view to re-lay-out and redraw; and when its saved-state flips the view has to refresh the controls that depend on it (the title-bar "modified" marker). Rather than let WorksheetDocument depend on the whole Worksheet, it talks back through this small one-way interface, which Worksheet implements by forwarding to its real layout/redraw/control machinery. All notifications; no queries, no return values - so the document stays the source of truth for its own state (including whether it is saved).
The method names deliberately differ from the Worksheet methods they end up forwarding to, so Worksheet can inherit this alongside its other interfaces without any override-signature collisions (same convention as WorksheetView).