API Reference¶
- Properties
- Servers
Serverchild_id_attributeformatter_prefixdefault_option_scopedefault_hook_scope__init__()socket_namesocket_pathconfig_filecolorsis_alive()raise_if_dead()cmd()attached_sessionshas_session()kill()kill_session()switch_client()attach_session()new_session()sessionswindowspanes_show_hook()_show_option()_show_option_raw()_show_options()_show_options_dict()_show_options_raw()getenv()remove_environment()run_hook()set_environment()set_hook()set_hooks()set_option()show_environment()show_hook()show_hooks()show_option()show_options()unset_environment()unset_hook()unset_option()kill_server()_list_panes()_update_panes()get_by_id()where()find_where()_list_windows()_update_windows()_sessions_list_sessions()list_sessions()children
- Sessions
Sessionrefresh()from_session_id()windowspanescmd()select_window()active_paneactive_windowattach()kill()switch_client()rename_session()new_window()kill_window()idnameattached_paneattached_windowattach_session()kill_session()get()get_by_id()where()find_where()_list_windows()_windows__init__()_show_hook()_show_option()_show_option_raw()_show_options()_show_options_dict()_show_options_raw()getenv()list_windows()remove_environment()run_hook()set_environment()set_hook()set_hooks()set_option()show_environment()show_hook()show_hooks()show_option()show_options()unset_environment()unset_hook()unset_option()children
- Windows
Windowrefresh()from_window_id()sessionpanescmd()select_pane()split()resize()last_pane()select_layout()rename_window()kill()move_window()new_window()select()active_paneidnameindexheightwidthsplit_window()attached_paneselect_window()kill_window()set_window_option()show_window_options()show_window_option()get()get_by_id()where()find_where()_list_panes()__init__()_panes_show_hook()_show_option()_show_option_raw()_show_options()_show_options_dict()_show_options_raw()run_hook()set_hook()set_hooks()set_option()show_hook()show_hooks()show_option()show_options()unset_hook()unset_option()list_panes()children
- Panes
Panewindowrefresh()from_pane_id()windowsessioncmd()resize()capture_pane()send_keys()display_message()kill()select()select_pane()split()set_width()set_height()enter()clear()reset()idindexheightwidthat_topat_bottomat_leftat_rightsplit_window()__init__()_show_hook()_show_option()_show_option_raw()_show_options()_show_options_dict()_show_options_raw()get()run_hook()set_hook()set_hooks()set_option()show_hook()show_hooks()show_option()show_options()unset_hook()unset_option()resize_pane()
- Options
- Hooks
- Constants
- Utilities
- Exceptions
- libtmux.exc
LibTmuxExceptionDeprecatedErrorTmuxSessionExistsTmuxCommandNotFoundTmuxObjectDoesNotExistVersionTooLowBadSessionNameOptionErrorUnknownOptionUnknownColorOptionInvalidOptionAmbiguousOptionWaitTimeoutVariableUnpackingErrorPaneErrorPaneNotFoundWindowErrorMultipleActiveWindowsNoActiveWindowNoWindowsExistAdjustmentDirectionRequiresAdjustmentWindowAdjustmentDirectionRequiresAdjustmentPaneAdjustmentDirectionRequiresAdjustmentRequiresDigitOrPercentage