# libtmux.Pane

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/pane.py#L50
- **Bases:** [`Obj`](/en/py/stable/reference/libtmux-neo-obj/), [`OptionsMixin`](/en/py/stable/reference/libtmux-options-optionsmixin/), [`HooksMixin`](/en/py/stable/reference/libtmux-hooks-hooksmixin/)
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-pane/

:term:`tmux(1)` :term:`Pane` [pane_manual]_.

``Pane`` instances can send commands directly to a pane, or traverse
between linked tmux objects.

## Examples

```python
>>> pane
Pane(%1 Window(@1 1:..., Session($1 ...)))
```

```python
>>> pane in window.panes
True
```

```python
>>> pane.window
Window(@1 1:..., Session($1 ...))
```

```python
>>> pane.session
Session($1 ...)
```

The pane can be used as a context manager to ensure proper cleanup:

```python
>>> with window.split() as pane:
...     pane.send_keys('echo "Hello"')
...     # Do work with the pane
...     # Pane will be killed automatically when exiting the context
```

## References

- [pane_manual] tmux pane. openbsd manpage for TMUX(1). "Each window displayed by tmux may be split into one or more panes; each pane takes up a certain area of the display and is a separate terminal." https://man.openbsd.org/tmux.1#WINDOWS_AND_PANES. Accessed April 1st, 2018.

## Changed

0.8 — Renamed from ``.tmux`` to ``.cmd``.

## Members

### Parent objects

- [`window`](/en/py/stable/reference/libtmux-pane-window/) (property): Parent window of pane.
- [`session`](/en/py/stable/reference/libtmux-pane-session/) (property): Parent session of pane.
- [`server`](/en/py/stable/reference/libtmux-pane-server/) (attribute)

### Common operations

- [`capture_pane`](/en/py/stable/reference/libtmux-pane-capture_pane/) (method): Capture text from pane.
- [`send_keys`](/en/py/stable/reference/libtmux-pane-send_keys/) (method): ``$ tmux send-keys`` to the pane.
- [`split`](/en/py/stable/reference/libtmux-pane-split/) (method): Split window and return :class:`Pane`, by default beneath current pane.
- [`respawn`](/en/py/stable/reference/libtmux-pane-respawn/) (method): Respawn the pane process via ``$ tmux respawn-pane``.
- [`kill`](/en/py/stable/reference/libtmux-pane-kill/) (method): Kill :class:`Pane`.
- [`select`](/en/py/stable/reference/libtmux-pane-select/) (method): Select pane.
- [`break_pane`](/en/py/stable/reference/libtmux-pane-break_pane/) (method): Break this pane out into a new window via ``$ tmux break-pane``.
- [`clear_history`](/en/py/stable/reference/libtmux-pane-clear_history/) (method): Clear pane history buffer via ``$ tmux clear-history``.
- [`set_title`](/en/py/stable/reference/libtmux-pane-set_title/) (method): Set pane title via ``select-pane -T``.
- [`paste_buffer`](/en/py/stable/reference/libtmux-pane-paste_buffer/) (method): Paste a buffer into the pane via ``$ tmux paste-buffer``.
- [`resize`](/en/py/stable/reference/libtmux-pane-resize/) (method): Resize tmux pane.
- [`id`](/en/py/stable/reference/libtmux-pane-id/) (property): Alias of :attr:`Pane.pane_id`.
- [`index`](/en/py/stable/reference/libtmux-pane-index/) (property): Alias of :attr:`Pane.pane_index`.
- [`swap`](/en/py/stable/reference/libtmux-pane-swap/) (method): Swap this pane with another via ``$ tmux swap-pane``.
- [`pipe`](/en/py/stable/reference/libtmux-pane-pipe/) (method): Pipe pane output to a shell command via ``$ tmux pipe-pane``.
- [`copy_mode`](/en/py/stable/reference/libtmux-pane-copy_mode/) (method): Enter copy mode via ``$ tmux copy-mode``.
- [`height`](/en/py/stable/reference/libtmux-pane-height/) (property): Alias of :attr:`Pane.pane_height`.
- [`width`](/en/py/stable/reference/libtmux-pane-width/) (property): Alias of :attr:`Pane.pane_width`.
- [`title`](/en/py/stable/reference/libtmux-pane-title/) (property): Alias for :attr:`pane_title`.
- [`join`](/en/py/stable/reference/libtmux-pane-join/) (method): Join this pane into another window/pane via ``$ tmux join-pane``.
- [`refresh`](/en/py/stable/reference/libtmux-pane-refresh/) (method): Refresh pane attributes from tmux.
- [`at_top`](/en/py/stable/reference/libtmux-pane-at_top/) (property): Typed, converted wrapper around :attr:`Pane.pane_at_top`.
- [`at_bottom`](/en/py/stable/reference/libtmux-pane-at_bottom/) (property): Typed, converted wrapper around :attr:`Pane.pane_at_bottom`.
- [`at_left`](/en/py/stable/reference/libtmux-pane-at_left/) (property): Typed, converted wrapper around :attr:`Pane.pane_at_left`.
- [`at_right`](/en/py/stable/reference/libtmux-pane-at_right/) (property): Typed, converted wrapper around :attr:`Pane.pane_at_right`.
- [`display_message`](/en/py/stable/reference/libtmux-pane-display_message/) (method): Display message to pane.
- [`move`](/en/py/stable/reference/libtmux-pane-move/) (method): Move this pane to another window via ``$ tmux move-pane``.
- [`send_prefix`](/en/py/stable/reference/libtmux-pane-send_prefix/) (method): Send the prefix key to the pane via ``$ tmux send-prefix``.
- [`cmd`](/en/py/stable/reference/libtmux-pane-cmd/) (method): Execute tmux subcommand within pane context.
- [`set_height`](/en/py/stable/reference/libtmux-pane-set_height/) (method): Set pane height.
- [`set_width`](/en/py/stable/reference/libtmux-pane-set_width/) (method): Set pane width.
- [`clock_mode`](/en/py/stable/reference/libtmux-pane-clock_mode/) (method): Enter clock mode via ``$ tmux clock-mode``.
- [`customize_mode`](/en/py/stable/reference/libtmux-pane-customize_mode/) (method): Enter customize mode via ``$ tmux customize-mode``.
- [`choose_tree`](/en/py/stable/reference/libtmux-pane-choose_tree/) (method): Enter tree chooser via ``$ tmux choose-tree``.
- [`choose_buffer`](/en/py/stable/reference/libtmux-pane-choose_buffer/) (method): Enter buffer chooser via ``$ tmux choose-buffer``.
- [`find_window`](/en/py/stable/reference/libtmux-pane-find_window/) (method): Search for a window matching a string via ``$ tmux find-window``.
- [`display_popup`](/en/py/stable/reference/libtmux-pane-display_popup/) (method): Display a popup overlay via ``$ tmux display-popup``.
- [`choose_client`](/en/py/stable/reference/libtmux-pane-choose_client/) (method): Enter client chooser via ``$ tmux choose-client``.
- [`clear`](/en/py/stable/reference/libtmux-pane-clear/) (method): Clear pane.
- [`reset`](/en/py/stable/reference/libtmux-pane-reset/) (method): Reset terminal state and clear pane history.
- [`enter`](/en/py/stable/reference/libtmux-pane-enter/) (method): Send carriage return to pane.
- [`display_panes`](/en/py/stable/reference/libtmux-pane-display_panes/) (method): Show pane numbers via ``$ tmux display-panes``.
- [`from_env`](/en/py/stable/reference/libtmux-pane-from_env/) (method): Return the pane this process is running inside of.
- [`from_pane_id`](/en/py/stable/reference/libtmux-pane-from_pane_id/) (method): Create Pane from existing pane_id.
- [`new_pane`](/en/py/stable/reference/libtmux-pane-new_pane/) (method): Create a floating :class:`Pane` via ``$ tmux new-pane`` (tmux 3.7+).

### Other members

- [`default_hook_scope`](/en/py/stable/reference/libtmux-pane-default_hook_scope/) (attribute)
- [`default_option_scope`](/en/py/stable/reference/libtmux-pane-default_option_scope/) (attribute)
- [`get`](/en/py/stable/reference/libtmux-pane-get/) (method): Return key-based lookup. Deprecated by attributes.
- [`resize_pane`](/en/py/stable/reference/libtmux-pane-resize_pane/) (method): Resize pane, deprecated by :meth:`Pane.resize`.
- [`select_pane`](/en/py/stable/reference/libtmux-pane-select_pane/) (method): Select pane.
- [`split_window`](/en/py/stable/reference/libtmux-pane-split_window/) (method): Split window at pane and return newly created :class:`Pane`.
- [`__enter__`](/en/py/stable/reference/libtmux-pane-__enter__/) (method): Enter the context, returning self.
- [`__eq__`](/en/py/stable/reference/libtmux-pane-__eq__/) (method): Equal operator for :class:`Pane` object.
- [`__exit__`](/en/py/stable/reference/libtmux-pane-__exit__/) (method): Exit the context, killing the pane if it exists.
- [`__getitem__`](/en/py/stable/reference/libtmux-pane-__getitem__/) (method): Return item lookup by key. Deprecated in favor of attributes.
- [`__repr__`](/en/py/stable/reference/libtmux-pane-__repr__/) (method): Representation of :class:`Pane` object.

## Inherited members

- [`show_options`](/en/py/stable/reference/libtmux-pane-show_options/) (method), inherited from `libtmux.options.OptionsMixin`: Return all options for the target.
- [`show_hooks`](/en/py/stable/reference/libtmux-pane-show_hooks/) (method), inherited from `libtmux.hooks.HooksMixin`: Return a dict of hooks for the target.
- [`pane_active`](/en/py/stable/reference/libtmux-pane-pane_active/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_current_command`](/en/py/stable/reference/libtmux-pane-pane_current_command/) (attribute), inherited from `libtmux.neo.Obj`
- [`set_option`](/en/py/stable/reference/libtmux-pane-set_option/) (method), inherited from `libtmux.options.OptionsMixin`: Set option for tmux target.
- [`unset_option`](/en/py/stable/reference/libtmux-pane-unset_option/) (method), inherited from `libtmux.options.OptionsMixin`: Unset option for tmux target.
- [`pane_current_path`](/en/py/stable/reference/libtmux-pane-pane_current_path/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_id`](/en/py/stable/reference/libtmux-pane-window_id/) (attribute), inherited from `libtmux.neo.Obj`
- [`show_option`](/en/py/stable/reference/libtmux-pane-show_option/) (method), inherited from `libtmux.options.OptionsMixin`: Return option value for the target.
- [`set_hook`](/en/py/stable/reference/libtmux-pane-set_hook/) (method), inherited from `libtmux.hooks.HooksMixin`: Set hook for tmux target.
- [`unset_hook`](/en/py/stable/reference/libtmux-pane-unset_hook/) (method), inherited from `libtmux.hooks.HooksMixin`: Unset hook for tmux target.
- [`pid`](/en/py/stable/reference/libtmux-pane-pid/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_id`](/en/py/stable/reference/libtmux-pane-session_id/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_dead`](/en/py/stable/reference/libtmux-pane-pane_dead/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_in_mode`](/en/py/stable/reference/libtmux-pane-pane_in_mode/) (attribute), inherited from `libtmux.neo.Obj`
- [`run_hook`](/en/py/stable/reference/libtmux-pane-run_hook/) (method), inherited from `libtmux.hooks.HooksMixin`: Run a hook immediately. Useful for testing.
- [`pane_path`](/en/py/stable/reference/libtmux-pane-pane_path/) (attribute), inherited from `libtmux.neo.Obj`
- [`set_hooks`](/en/py/stable/reference/libtmux-pane-set_hooks/) (method), inherited from `libtmux.hooks.HooksMixin`: Set multiple indexed hooks at once.
- [`show_hook`](/en/py/stable/reference/libtmux-pane-show_hook/) (method), inherited from `libtmux.hooks.HooksMixin`: Return value for a hook.
- [`active_window_index`](/en/py/stable/reference/libtmux-pane-active_window_index/) (attribute), inherited from `libtmux.neo.Obj`
- [`alternate_saved_x`](/en/py/stable/reference/libtmux-pane-alternate_saved_x/) (attribute), inherited from `libtmux.neo.Obj`
- [`alternate_saved_y`](/en/py/stable/reference/libtmux-pane-alternate_saved_y/) (attribute), inherited from `libtmux.neo.Obj`
- [`bracket_paste_flag`](/en/py/stable/reference/libtmux-pane-bracket_paste_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`buffer_name`](/en/py/stable/reference/libtmux-pane-buffer_name/) (attribute), inherited from `libtmux.neo.Obj`
- [`buffer_sample`](/en/py/stable/reference/libtmux-pane-buffer_sample/) (attribute), inherited from `libtmux.neo.Obj`
- [`buffer_size`](/en/py/stable/reference/libtmux-pane-buffer_size/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_activity`](/en/py/stable/reference/libtmux-pane-client_activity/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_cell_height`](/en/py/stable/reference/libtmux-pane-client_cell_height/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_cell_width`](/en/py/stable/reference/libtmux-pane-client_cell_width/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_control_mode`](/en/py/stable/reference/libtmux-pane-client_control_mode/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_created`](/en/py/stable/reference/libtmux-pane-client_created/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_discarded`](/en/py/stable/reference/libtmux-pane-client_discarded/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_flags`](/en/py/stable/reference/libtmux-pane-client_flags/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_height`](/en/py/stable/reference/libtmux-pane-client_height/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_key_table`](/en/py/stable/reference/libtmux-pane-client_key_table/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_last_session`](/en/py/stable/reference/libtmux-pane-client_last_session/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_mode_format`](/en/py/stable/reference/libtmux-pane-client_mode_format/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_name`](/en/py/stable/reference/libtmux-pane-client_name/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_pid`](/en/py/stable/reference/libtmux-pane-client_pid/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_prefix`](/en/py/stable/reference/libtmux-pane-client_prefix/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_readonly`](/en/py/stable/reference/libtmux-pane-client_readonly/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_session`](/en/py/stable/reference/libtmux-pane-client_session/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_termfeatures`](/en/py/stable/reference/libtmux-pane-client_termfeatures/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_termname`](/en/py/stable/reference/libtmux-pane-client_termname/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_termtype`](/en/py/stable/reference/libtmux-pane-client_termtype/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_tty`](/en/py/stable/reference/libtmux-pane-client_tty/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_uid`](/en/py/stable/reference/libtmux-pane-client_uid/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_user`](/en/py/stable/reference/libtmux-pane-client_user/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_utf8`](/en/py/stable/reference/libtmux-pane-client_utf8/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_width`](/en/py/stable/reference/libtmux-pane-client_width/) (attribute), inherited from `libtmux.neo.Obj`
- [`client_written`](/en/py/stable/reference/libtmux-pane-client_written/) (attribute), inherited from `libtmux.neo.Obj`
- [`command_list_alias`](/en/py/stable/reference/libtmux-pane-command_list_alias/) (attribute), inherited from `libtmux.neo.Obj`
- [`command_list_name`](/en/py/stable/reference/libtmux-pane-command_list_name/) (attribute), inherited from `libtmux.neo.Obj`
- [`command_list_usage`](/en/py/stable/reference/libtmux-pane-command_list_usage/) (attribute), inherited from `libtmux.neo.Obj`
- [`config_files`](/en/py/stable/reference/libtmux-pane-config_files/) (attribute), inherited from `libtmux.neo.Obj`
- [`copy_cursor_line`](/en/py/stable/reference/libtmux-pane-copy_cursor_line/) (attribute), inherited from `libtmux.neo.Obj`
- [`copy_cursor_word`](/en/py/stable/reference/libtmux-pane-copy_cursor_word/) (attribute), inherited from `libtmux.neo.Obj`
- [`copy_cursor_x`](/en/py/stable/reference/libtmux-pane-copy_cursor_x/) (attribute), inherited from `libtmux.neo.Obj`
- [`copy_cursor_y`](/en/py/stable/reference/libtmux-pane-copy_cursor_y/) (attribute), inherited from `libtmux.neo.Obj`
- [`current_file`](/en/py/stable/reference/libtmux-pane-current_file/) (attribute), inherited from `libtmux.neo.Obj`
- [`cursor_character`](/en/py/stable/reference/libtmux-pane-cursor_character/) (attribute), inherited from `libtmux.neo.Obj`
- [`cursor_flag`](/en/py/stable/reference/libtmux-pane-cursor_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`cursor_x`](/en/py/stable/reference/libtmux-pane-cursor_x/) (attribute), inherited from `libtmux.neo.Obj`
- [`cursor_y`](/en/py/stable/reference/libtmux-pane-cursor_y/) (attribute), inherited from `libtmux.neo.Obj`
- [`history_bytes`](/en/py/stable/reference/libtmux-pane-history_bytes/) (attribute), inherited from `libtmux.neo.Obj`
- [`history_limit`](/en/py/stable/reference/libtmux-pane-history_limit/) (attribute), inherited from `libtmux.neo.Obj`
- [`history_size`](/en/py/stable/reference/libtmux-pane-history_size/) (attribute), inherited from `libtmux.neo.Obj`
- [`hooks`](/en/py/stable/reference/libtmux-pane-hooks/) (attribute), inherited from `libtmux.hooks.HooksMixin`
- [`insert_flag`](/en/py/stable/reference/libtmux-pane-insert_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`keypad_cursor_flag`](/en/py/stable/reference/libtmux-pane-keypad_cursor_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`keypad_flag`](/en/py/stable/reference/libtmux-pane-keypad_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`last_window_index`](/en/py/stable/reference/libtmux-pane-last_window_index/) (attribute), inherited from `libtmux.neo.Obj`
- [`line`](/en/py/stable/reference/libtmux-pane-line/) (attribute), inherited from `libtmux.neo.Obj`
- [`mouse_all_flag`](/en/py/stable/reference/libtmux-pane-mouse_all_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`mouse_any_flag`](/en/py/stable/reference/libtmux-pane-mouse_any_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`mouse_button_flag`](/en/py/stable/reference/libtmux-pane-mouse_button_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`mouse_sgr_flag`](/en/py/stable/reference/libtmux-pane-mouse_sgr_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`mouse_standard_flag`](/en/py/stable/reference/libtmux-pane-mouse_standard_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`next_session_id`](/en/py/stable/reference/libtmux-pane-next_session_id/) (attribute), inherited from `libtmux.neo.Obj`
- [`origin_flag`](/en/py/stable/reference/libtmux-pane-origin_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_at_bottom`](/en/py/stable/reference/libtmux-pane-pane_at_bottom/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_at_left`](/en/py/stable/reference/libtmux-pane-pane_at_left/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_at_right`](/en/py/stable/reference/libtmux-pane-pane_at_right/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_at_top`](/en/py/stable/reference/libtmux-pane-pane_at_top/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_bg`](/en/py/stable/reference/libtmux-pane-pane_bg/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_bottom`](/en/py/stable/reference/libtmux-pane-pane_bottom/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_dead_signal`](/en/py/stable/reference/libtmux-pane-pane_dead_signal/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_dead_status`](/en/py/stable/reference/libtmux-pane-pane_dead_status/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_dead_time`](/en/py/stable/reference/libtmux-pane-pane_dead_time/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_fg`](/en/py/stable/reference/libtmux-pane-pane_fg/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_flags`](/en/py/stable/reference/libtmux-pane-pane_flags/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_floating_flag`](/en/py/stable/reference/libtmux-pane-pane_floating_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_format`](/en/py/stable/reference/libtmux-pane-pane_format/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_height`](/en/py/stable/reference/libtmux-pane-pane_height/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_id`](/en/py/stable/reference/libtmux-pane-pane_id/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_index`](/en/py/stable/reference/libtmux-pane-pane_index/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_input_off`](/en/py/stable/reference/libtmux-pane-pane_input_off/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_last`](/en/py/stable/reference/libtmux-pane-pane_last/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_left`](/en/py/stable/reference/libtmux-pane-pane_left/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_marked`](/en/py/stable/reference/libtmux-pane-pane_marked/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_marked_set`](/en/py/stable/reference/libtmux-pane-pane_marked_set/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_mode`](/en/py/stable/reference/libtmux-pane-pane_mode/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_pb_progress`](/en/py/stable/reference/libtmux-pane-pane_pb_progress/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_pb_state`](/en/py/stable/reference/libtmux-pane-pane_pb_state/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_pid`](/en/py/stable/reference/libtmux-pane-pane_pid/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_pipe`](/en/py/stable/reference/libtmux-pane-pane_pipe/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_pipe_pid`](/en/py/stable/reference/libtmux-pane-pane_pipe_pid/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_right`](/en/py/stable/reference/libtmux-pane-pane_right/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_search_string`](/en/py/stable/reference/libtmux-pane-pane_search_string/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_start_command`](/en/py/stable/reference/libtmux-pane-pane_start_command/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_start_path`](/en/py/stable/reference/libtmux-pane-pane_start_path/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_synchronized`](/en/py/stable/reference/libtmux-pane-pane_synchronized/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_tabs`](/en/py/stable/reference/libtmux-pane-pane_tabs/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_title`](/en/py/stable/reference/libtmux-pane-pane_title/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_top`](/en/py/stable/reference/libtmux-pane-pane_top/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_tty`](/en/py/stable/reference/libtmux-pane-pane_tty/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_width`](/en/py/stable/reference/libtmux-pane-pane_width/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_x`](/en/py/stable/reference/libtmux-pane-pane_x/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_y`](/en/py/stable/reference/libtmux-pane-pane_y/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_z`](/en/py/stable/reference/libtmux-pane-pane_z/) (attribute), inherited from `libtmux.neo.Obj`
- [`pane_zoomed_flag`](/en/py/stable/reference/libtmux-pane-pane_zoomed_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`scroll_position`](/en/py/stable/reference/libtmux-pane-scroll_position/) (attribute), inherited from `libtmux.neo.Obj`
- [`scroll_region_lower`](/en/py/stable/reference/libtmux-pane-scroll_region_lower/) (attribute), inherited from `libtmux.neo.Obj`
- [`scroll_region_upper`](/en/py/stable/reference/libtmux-pane-scroll_region_upper/) (attribute), inherited from `libtmux.neo.Obj`
- [`search_match`](/en/py/stable/reference/libtmux-pane-search_match/) (attribute), inherited from `libtmux.neo.Obj`
- [`selection_end_x`](/en/py/stable/reference/libtmux-pane-selection_end_x/) (attribute), inherited from `libtmux.neo.Obj`
- [`selection_end_y`](/en/py/stable/reference/libtmux-pane-selection_end_y/) (attribute), inherited from `libtmux.neo.Obj`
- [`selection_start_x`](/en/py/stable/reference/libtmux-pane-selection_start_x/) (attribute), inherited from `libtmux.neo.Obj`
- [`selection_start_y`](/en/py/stable/reference/libtmux-pane-selection_start_y/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_activity`](/en/py/stable/reference/libtmux-pane-session_activity/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_alerts`](/en/py/stable/reference/libtmux-pane-session_alerts/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_attached`](/en/py/stable/reference/libtmux-pane-session_attached/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_attached_list`](/en/py/stable/reference/libtmux-pane-session_attached_list/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_created`](/en/py/stable/reference/libtmux-pane-session_created/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_format`](/en/py/stable/reference/libtmux-pane-session_format/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_group`](/en/py/stable/reference/libtmux-pane-session_group/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_group_attached`](/en/py/stable/reference/libtmux-pane-session_group_attached/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_group_attached_list`](/en/py/stable/reference/libtmux-pane-session_group_attached_list/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_group_list`](/en/py/stable/reference/libtmux-pane-session_group_list/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_group_many_attached`](/en/py/stable/reference/libtmux-pane-session_group_many_attached/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_group_size`](/en/py/stable/reference/libtmux-pane-session_group_size/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_grouped`](/en/py/stable/reference/libtmux-pane-session_grouped/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_last_attached`](/en/py/stable/reference/libtmux-pane-session_last_attached/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_many_attached`](/en/py/stable/reference/libtmux-pane-session_many_attached/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_marked`](/en/py/stable/reference/libtmux-pane-session_marked/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_name`](/en/py/stable/reference/libtmux-pane-session_name/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_path`](/en/py/stable/reference/libtmux-pane-session_path/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_stack`](/en/py/stable/reference/libtmux-pane-session_stack/) (attribute), inherited from `libtmux.neo.Obj`
- [`session_windows`](/en/py/stable/reference/libtmux-pane-session_windows/) (attribute), inherited from `libtmux.neo.Obj`
- [`socket_path`](/en/py/stable/reference/libtmux-pane-socket_path/) (attribute), inherited from `libtmux.neo.Obj`
- [`start_time`](/en/py/stable/reference/libtmux-pane-start_time/) (attribute), inherited from `libtmux.neo.Obj`
- [`synchronized_output_flag`](/en/py/stable/reference/libtmux-pane-synchronized_output_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`uid`](/en/py/stable/reference/libtmux-pane-uid/) (attribute), inherited from `libtmux.neo.Obj`
- [`user`](/en/py/stable/reference/libtmux-pane-user/) (attribute), inherited from `libtmux.neo.Obj`
- [`version`](/en/py/stable/reference/libtmux-pane-version/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_active`](/en/py/stable/reference/libtmux-pane-window_active/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_active_clients`](/en/py/stable/reference/libtmux-pane-window_active_clients/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_active_clients_list`](/en/py/stable/reference/libtmux-pane-window_active_clients_list/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_active_sessions`](/en/py/stable/reference/libtmux-pane-window_active_sessions/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_active_sessions_list`](/en/py/stable/reference/libtmux-pane-window_active_sessions_list/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_activity`](/en/py/stable/reference/libtmux-pane-window_activity/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_activity_flag`](/en/py/stable/reference/libtmux-pane-window_activity_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_bell_flag`](/en/py/stable/reference/libtmux-pane-window_bell_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_bigger`](/en/py/stable/reference/libtmux-pane-window_bigger/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_cell_height`](/en/py/stable/reference/libtmux-pane-window_cell_height/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_cell_width`](/en/py/stable/reference/libtmux-pane-window_cell_width/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_end_flag`](/en/py/stable/reference/libtmux-pane-window_end_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_flags`](/en/py/stable/reference/libtmux-pane-window_flags/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_format`](/en/py/stable/reference/libtmux-pane-window_format/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_height`](/en/py/stable/reference/libtmux-pane-window_height/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_index`](/en/py/stable/reference/libtmux-pane-window_index/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_last_flag`](/en/py/stable/reference/libtmux-pane-window_last_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_layout`](/en/py/stable/reference/libtmux-pane-window_layout/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_linked`](/en/py/stable/reference/libtmux-pane-window_linked/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_linked_sessions`](/en/py/stable/reference/libtmux-pane-window_linked_sessions/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_linked_sessions_list`](/en/py/stable/reference/libtmux-pane-window_linked_sessions_list/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_marked_flag`](/en/py/stable/reference/libtmux-pane-window_marked_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_name`](/en/py/stable/reference/libtmux-pane-window_name/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_offset_x`](/en/py/stable/reference/libtmux-pane-window_offset_x/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_offset_y`](/en/py/stable/reference/libtmux-pane-window_offset_y/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_panes`](/en/py/stable/reference/libtmux-pane-window_panes/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_raw_flags`](/en/py/stable/reference/libtmux-pane-window_raw_flags/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_silence_flag`](/en/py/stable/reference/libtmux-pane-window_silence_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_stack_index`](/en/py/stable/reference/libtmux-pane-window_stack_index/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_start_flag`](/en/py/stable/reference/libtmux-pane-window_start_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_visible_layout`](/en/py/stable/reference/libtmux-pane-window_visible_layout/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_width`](/en/py/stable/reference/libtmux-pane-window_width/) (attribute), inherited from `libtmux.neo.Obj`
- [`window_zoomed_flag`](/en/py/stable/reference/libtmux-pane-window_zoomed_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`wrap_flag`](/en/py/stable/reference/libtmux-pane-wrap_flag/) (attribute), inherited from `libtmux.neo.Obj`
- [`__init__`](/en/py/stable/reference/libtmux-pane-__init__/) (method), inherited from `libtmux.options.OptionsMixin`: When not a user (custom) option, scope can be implied.
- [`_refresh`](/en/py/stable/reference/libtmux-pane-_refresh/) (method), inherited from `libtmux.neo.Obj`: Refresh dataclass fields from a single ``list-*`` row.
- [`_show_hook`](/en/py/stable/reference/libtmux-pane-_show_hook/) (method), inherited from `libtmux.hooks.HooksMixin`: Return value for the hook.
- [`_show_option`](/en/py/stable/reference/libtmux-pane-_show_option/) (method), inherited from `libtmux.options.OptionsMixin`: Return option value for the target.
- [`_show_option_raw`](/en/py/stable/reference/libtmux-pane-_show_option_raw/) (method), inherited from `libtmux.options.OptionsMixin`: Return raw option output for target.
- [`_show_options`](/en/py/stable/reference/libtmux-pane-_show_options/) (method), inherited from `libtmux.options.OptionsMixin`: Return a dict of options for the target.
- [`_show_options_dict`](/en/py/stable/reference/libtmux-pane-_show_options_dict/) (method), inherited from `libtmux.options.OptionsMixin`: Return dict of options for the target.
- [`_show_options_raw`](/en/py/stable/reference/libtmux-pane-_show_options_raw/) (method), inherited from `libtmux.options.OptionsMixin`: Return a dict of options for the target.
- [`_tmux_bin`](/en/py/stable/reference/libtmux-pane-_tmux_bin/) (property), inherited from `libtmux.hooks.HooksMixin`: Resolve tmux_bin from self (Server) or self.server (Session/Window/Pane).

## In other ports

### A tmux pane

- PowerShell: [`LibTmux\Get-TmuxPane`](/en/powershell/latest/reference/libtmux-get-tmuxpane/) (cmdlet). This cmdlet reads shared .NET `LibTmux.Pane` objects. Its [`-Server`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Server), [`-Session`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Session), and [`-Window`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Window) parameter sets select the scope.
- Julia: [`LibTmux.PaneSnapshot`](/en/julia/latest/reference/libtmux-panesnapshot/) (struct). `PaneSnapshot` holds captured pane data. Actions use its `PaneRef`; `PaneOccurrence` adds a window placement in a session.
- Ruby: [`LibTmux::Pane`](/en/ruby/latest/reference/libtmux-pane-14z6/) (class)
- Lua: [`libtmux.Pane`](/en/lua/latest/reference/libtmux-pane/) (class)
- TypeScript: [`pane.Pane`](/en/ts/latest/reference/pane-pane/) (class)
- Rust: [`pane.Pane`](/en/rs/latest/reference/pane-pane/) (struct)
- Go: [`tmux.Pane`](/en/go/latest/reference/tmux-pane/) (struct)
- Java: [`io.github.libtmux.Pane.Pane`](/en/java/latest/reference/io-github-libtmux-pane-pane/) (class)
- C#: [`LibTmux.Pane`](/en/csharp/latest/reference/libtmux-pane/) (class)
- C++: [`libtmux::Pane`](/en/cxx/latest/reference/libtmux-pane/) (class)
- Swift: [`Pane`](/en/swift/latest/reference/pane/) (struct)
- Kotlin: [`io.github.libtmux.kotlin.Pane`](/en/kotlin/latest/reference/io-github-libtmux-kotlin-pane/) (class)
- Scala: [`io.github.libtmux.scaladsl.Pane`](/en/scala/latest/reference/io-github-libtmux-scaladsl-pane/) (typealias)
- F#: [`LibTmux.FSharp.Pane`](/en/fsharp/latest/reference/libtmux-fsharp-pane/) (module). This F# module reads captured fields and starts explicit operations on the shared .NET `LibTmux.Pane` type.
