# NotificationDetailScreen

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen)

Modal displaying a single notification's title, body, and actions.

Activation returns the chosen `ActionId` via `dismiss()`; Esc
returns `None` so the caller can keep the underlying notification
center open.

## Signature

```python
NotificationDetailScreen(
    self,
    entry: PendingNotification,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `entry` | `PendingNotification` | Yes | Notification to render. Its actions drive the row list; dismissing via an action returns the chosen `ActionId` to the caller. |

## Extends

- `ModalScreen['ActionId | None']`

## Constructors

```python
__init__(
    self,
    entry: PendingNotification,
) -> None
```

| Name | Type |
|------|------|
| `entry` | `PendingNotification` |


## Properties

- `BINDINGS`
- `CSS`

## Methods

- [`compose()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen/compose)
- [`on_mount()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen/on_mount)
- [`action_move_up()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen/action_move_up)
- [`action_move_down()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen/action_move_down)
- [`action_activate()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen/action_activate)
- [`action_cancel()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen/action_cancel)
- [`on_detail_action_activated()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_detail/NotificationDetailScreen/on_detail_action_activated)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0412009c5441bef8d75a427e1da8909e33ab5b56/libs/code/deepagents_code/widgets/notification_detail.py#L96)