Classes
QuickAction
8
ā¼
Quick action grid item for landing screen.
Displays an emoji icon, title, and description.
Emits Sā¦
QuickAction
8
ā¼
Quick action grid item for landing screen.
Displays an emoji icon, title, and description. Emits Selected message when clicked or activated.
Attributes
| Name | Type | Description |
|---|---|---|
BINDINGS |
ClassVar[list[tuple[str, str, str]]]
|
ā |
emoji |
ā |
Icon emoji to display |
title |
ā |
Action title (e.g., "Build Site") |
description |
ā |
Short description of the action |
Methods
compose
0
ComposeResult
ā¼
Compose the action layout.
compose
0
ComposeResult
ā¼
def compose(self) -> ComposeResult
Returns
ComposeResult
action_select
0
ā¼
Handle selection action.
action_select
0
ā¼
def action_select(self) -> None
on_click
0
ā¼
Handle click event.
on_click
0
ā¼
def on_click(self) -> None
Internal Methods 1 ā¼
__init__
6
ā¼
Initialize quick action.
__init__
6
ā¼
def __init__(self, emoji: str, title: str, description: str, *, name: str | None = None, id: str | None = None, classes: str | None = None) -> None
Parameters
| Name | Type | Description |
|---|---|---|
emoji |
ā |
Icon emoji to display |
title |
ā |
Action title |
description |
ā |
Short description |
name |
ā |
Widget name Default:None
|
id |
ā |
Widget ID Default:None
|
classes |
ā |
CSS classes Default:None
|