# NotificationCenterScreen

> **Class** in `deepagents_code`

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

Shared hub for pending notifications and warning preferences.

Each `PendingNotification` is a single row followed by a settings
disclosure row. Up/Down (or j/k) moves the cursor; Enter or click drills
into a notification or toggles the inline settings section. Expanded
settings hand key focus to their first checkbox (Space/Enter toggle); Esc
there collapses back to the row cursor. Esc on the row cursor returns
`None`.

## Signature

```python
NotificationCenterScreen(
    self,
    notifications: list[PendingNotification],
    suppressed: set[str] | None = None,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `notifications` | `list[PendingNotification]` | Yes | Entries to render. Order is preserved. |
| `suppressed` | `set[str] \| None` | No | Currently suppressed warning keys, used to render checkbox state when the settings section expands. `None` means the app has not supplied settings state; the screen preloads it from config on mount so the first expand has the values ready. (default: `None`) |

## Extends

- `ModalScreen[NotificationActionResult | None]`

## Constructors

```python
__init__(
    self,
    notifications: list[PendingNotification],
    suppressed: set[str] | None = None,
) -> None
```

| Name | Type |
|------|------|
| `notifications` | `list[PendingNotification]` |
| `suppressed` | `set[str] \| None` |


## Properties

- `BINDINGS`
- `CSS`
- `settings_expanded`
- `settings_checkbox_focused`

## Methods

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

---

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