pjkm.tui.screens.progress¶
Progress screen: shows live task execution.
Classes¶
Displays live progress of project generation. |
Module Contents¶
- class pjkm.tui.screens.progress.ProgressScreen(config, extra=None)[source]¶
Bases:
textual.screen.ScreenDisplays live progress of project generation.
- Parameters:
extra (dict | None)
- 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