# ContainedSelect

> **Class** in `deepagents_code`

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

Options dropdown that keeps focus contained while its menu is open.

## Signature

```python
ContainedSelect()
```

## Extends

- `Select[str]`

## Methods

- [`action_show_overlay()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/thread_selector/ContainedSelect/action_show_overlay)
- [`compose()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/thread_selector/ContainedSelect/compose)
- [`key_tab()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/thread_selector/ContainedSelect/key_tab)
- [`key_shift_tab()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/thread_selector/ContainedSelect/key_shift_tab)
- [`check_consume_key()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/thread_selector/ContainedSelect/check_consume_key)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/7794b61a6e76230e8c7a49bdce808b3728305914/libs/code/deepagents_code/tui/widgets/thread_selector.py#L578)