pjkm.tui.screens.done

Done screen: shows summary and next steps.

Classes

DoneScreen

Final screen showing the result and next steps.

Module Contents

class pjkm.tui.screens.done.DoneScreen(project_dir, success)[source]

Bases: textual.screen.Screen

Final screen showing the result and next steps.

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_button_pressed(event)[source]
Parameters:

event (textual.widgets.Button.Pressed)

Return type:

None