pjkm.tui.screens.progress

Progress screen: shows live task execution.

Classes

ProgressScreen

Displays live progress of project generation.

Module Contents

class pjkm.tui.screens.progress.ProgressScreen(config, extra=None)[source]

Bases: textual.screen.Screen

Displays live progress of project generation.

Parameters:
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

on_mount()[source]
Return type:

None

on_worker_state_changed(event)[source]
Parameters:

event (textual.worker.Worker.StateChanged)

Return type:

None