lolcatt package

Subpackages

Submodules

lolcatt.app module

class lolcatt.app.DeviceScreen(name=None, id=None, classes=None)[source]

Bases: Screen

A screen for the device info UI.

can_focus: bool = False

Widget may receive focus.

can_focus_children: bool = True

Widget’s children may receive focus.

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()

```

class lolcatt.app.LolCatt(device_name=None, config=None, *args, **kwargs)[source]

Bases: App

The main application class for lolcatt.

CSS_PATH: ClassVar[CSSPathType | None] = 'ui/lolcatt.tcss'

File paths to load CSS from.

on_mount()[source]
class lolcatt.app.PlaylistScreen(name=None, id=None, classes=None)[source]

Bases: Screen

A screen for the playlist UI.

can_focus: bool = False

Widget may receive focus.

can_focus_children: bool = True

Widget’s children may receive focus.

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()

```

class lolcatt.app.RemoteScreen(name=None, id=None, classes=None)[source]

Bases: Screen

A screen for the remote control UI.

can_focus: bool = False

Widget may receive focus.

can_focus_children: bool = True

Widget’s children may receive focus.

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()

```

lolcatt.cli module

Module contents