pjkm.tui.screens.groups

Group selection screen: pick package groups via checkboxes.

Classes

GroupSelectionScreen

Select package groups to include in the project.

Module Contents

class pjkm.tui.screens.groups.GroupSelectionScreen(archetype)[source]

Bases: textual.screen.Screen

Select package groups to include in the project.

Parameters:

archetype (pjkm.core.models.project.Archetype)

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