textual-event-messages
Installation
SKILL.md
Textual Event and Message Handling
Purpose
Implement robust event handling and inter-widget communication in Textual using messages, keyboard bindings, and action dispatch. Messages enable loose coupling between components.
Quick Start
from textual.message import Message
from textual.app import App, ComposeResult
from textual.widgets import Button, Static
from textual import on
class ItemWidget(Static):
"""Widget that emits custom messages."""
Related skills