# Concepts

Source: https://libtmux.org/en/scala/latest/concepts/

> Understand Scala handles, filters, transports and layout ownership.

Use these concepts to reason about Scala handles, selection and command execution. Each page includes complete programs with imports, project files, run commands and cleanup.

For individual types and operations, open the [API reference](https://libtmux.org/en/scala/latest/reference/). For a first connection, start with [attaching to tmux](https://libtmux.org/en/scala/latest/guides/attaching-to-tmux/).

- [Server, session, window, pane](https://libtmux.org/en/scala/latest/concepts/server-session-window-pane/): Navigate captured sessions, windows, and panes, and refresh their state.
- [Filtering and queries](https://libtmux.org/en/scala/latest/concepts/queries/): Combine predicates, handle result counts, and match related windows.
- [Commands and control mode](https://libtmux.org/en/scala/latest/concepts/transports/): Run bounded commands and manage a persistent control client.
- [Layouts and repeated setup](https://libtmux.org/en/scala/latest/concepts/workspaces/): Create a split window and reuse a named window safely.
