pjkm.tui.screens.done¶
Done screen: shows summary and next steps.
Classes¶
Final screen showing the result and next steps. |
Module Contents¶
- class pjkm.tui.screens.done.DoneScreen(project_dir, success)[source]¶
Bases:
textual.screen.ScreenFinal screen showing the result and next steps.
- Parameters:
project_dir (pathlib.Path)
success (bool)
- compose()[source]¶
Called by Textual to create child widgets.
This method is called when a widget is mounted or by setting recompose=True when calling [refresh()][textual.widget.Widget.refresh].
Note that you don’t typically need to explicitly call this method.
Example
```python def compose(self) -> ComposeResult:
yield Header() yield Label(“Press the button below:”) yield Button() yield Footer()
- Return type:
textual.app.ComposeResult