Skip to content

Attention

Base classes

Name Children Inherits
Message
textual.message
Base class for a message.

⋔ Inheritance diagram

graph TD
  2468271966["attention.Attention"]
  819319447["message.Message"]
  2751680898["builtins.object"]
  819319447 --> 2468271966
  2751680898 --> 819319447

🛈 DocStrings

Bases: Message

A session wants the user's attention.

Source code in src/acptui/ui/attention.py
class Attention(Message):
    """A session wants the user's attention."""

    def __init__(self, kind: AttentionKind, title: str, message: str, source: Screen) -> None:
        super().__init__()
        self.kind: AttentionKind = kind
        self.title = title
        self.message = message
        self.source = source

:fa-brands-github: Show source on GitHub