# NotificationCenterScreen

> **Class** in `deepagents_code`

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

Modal listing pending notifications with drill-in details.

Each `PendingNotification` is a single row. Up/Down (or j/k)
moves the cursor; Enter or click pushes a detail modal for the
highlighted entry. The detail modal carries the action list and
dismisses with an `ActionId` or `None`. Esc on the center returns
`None`.

## Signature

```python
NotificationCenterScreen(
    self,
    notifications: list[PendingNotification],
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `notifications` | `list[PendingNotification]` | Yes | Entries to render. Order is preserved. |

## Extends

- `ModalScreen[NotificationActionResult | None]`

## Constructors

```python
__init__(
    self,
    notifications: list[PendingNotification],
) -> None
```

| Name | Type |
|------|------|
| `notifications` | `list[PendingNotification]` |


## Properties

- `BINDINGS`
- `CSS`

## Methods

- [`compose()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/compose)
- [`on_mount()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/on_mount)
- [`action_move_up()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/action_move_up)
- [`action_move_down()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/action_move_down)
- [`action_activate()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/action_activate)
- [`action_cancel()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/action_cancel)
- [`on_notification_row_clicked()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/on_notification_row_clicked)
- [`reload()`](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationCenterScreen/reload)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/widgets/notification_center.py#L143)