API Reference¶
- Properties
- Servers
Serverchild_id_attributeformatter_prefix__init__()socket_namesocket_pathconfig_filecolorsis_alive()raise_if_dead()cmd()attached_sessionshas_session()kill()kill_session()switch_client()attach_session()new_session()sessionswindowspanesgetenv()remove_environment()set_environment()show_environment()unset_environment()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()set_option()show_options()show_option()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()_windowslist_windows()__init__()childrengetenv()remove_environment()set_environment()show_environment()unset_environment()
- Windows
Windowrefresh()from_window_id()sessionpanescmd()select_pane()split()resize()last_pane()select_layout()set_window_option()show_window_options()show_window_option()rename_window()kill()move_window()new_window()select()active_paneidnameindexheightwidthsplit_window()attached_paneselect_window()kill_window()get()get_by_id()where()find_where()_list_panes()_paneslist_panes()__init__()children
- Panes
- Constants
- Utilities
- Exceptions
- libtmux.exc
LibTmuxExceptionTmuxSessionExistsTmuxCommandNotFoundTmuxObjectDoesNotExistVersionTooLowBadSessionNameOptionErrorUnknownOptionUnknownColorOptionInvalidOptionAmbiguousOptionWaitTimeoutVariableUnpackingErrorPaneErrorPaneNotFoundWindowErrorMultipleActiveWindowsNoActiveWindowNoWindowsExistAdjustmentDirectionRequiresAdjustmentWindowAdjustmentDirectionRequiresAdjustmentPaneAdjustmentDirectionRequiresAdjustmentRequiresDigitOrPercentage