cmd_swap_pane_exec
Source
- Qualified name
-
cmd_swap _pane _exec - Source
- cmd-swap-pane.c
-
tmux command
swap-pane
Call neighborhood
source callsDirect calls this declaration makes and receives, as recorded from the source.
Called by
None recorded. Reached through cmd_swap_pane_entry, which reference it as a function pointer (a reference, not a call).
Direct calls recorded in this source version (tmux e476c12). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_swap_pane_exec.
Calls
source calls 16Declarations cmd_swap_pane_exec calls directly.
- args_has function Call site ↗
- cmd_get_args function Call site ↗
- cmdq_error function Call site ↗
- cmdq_get_source function Call site ↗
- cmdq_get_target function Call site ↗
- colour_palette_from_option function Call site ↗
- layout_fix_panes function Call site ↗
- notify_window function Call site ↗
- options_set_parent function Call site ↗
- server_client_remove_pane function Call site ↗
- server_redraw_window function Call site ↗
- window_pane_is_floating function Call site ↗
- window_pane_stack_remove function Call site ↗
- window_pop_zoom function Call site ↗
- window_push_zoom function Call site ↗
- window_set_active_pane function Call site ↗
Referenced by
references 1Declarations that take cmd_swap_pane_exec as a pointer or callback: a reference, not a call.
- cmd_swap_pane_entry attribute
Referenced declarations
type references 32Types and data cmd_swap_pane_exec names in its declaration.
- window.active attribute
- cmd struct
- CMD_RETURN_ERROR constant
- CMD_RETURN_NORMAL constant
- cmd_retval enum
- cmdq_item struct
- layout_cell.entry attribute
- layout_cell.flags attribute
- window_pane.flags attribute
- window.last_panes attribute
- window_pane.layout_cell attribute
- LAYOUT_CELL_FLOATING constant
- window_pane.options attribute
- window.options attribute
- window_pane.palette attribute
- PANE_STYLECHANGED constant
- PANE_THEMECHANGED constant
- window.panes attribute
- layout_cell.sx attribute
- window_pane.sx attribute
- layout_cell.sy attribute
- window_pane.sy attribute
- window_pane.window attribute
- winlink.window attribute
- cmd_find_state.wl attribute
- cmd_find_state.wp attribute
- layout_cell.wp attribute
- layout_cell.xoff attribute
- window_pane.xoff attribute
- layout_cell.yoff attribute
- window_pane.yoff attribute
- window.z_index attribute
In libtmux
These methods send swap-pane.
| Language | Methods |
|---|---|
| Python | Pane |
| Ruby | Pane |
| Lua | Pane: |
| Julia | swap |
| Erlang | swap/3 |
| Common Lisp | client |
| TypeScript | Pane |
| Rust | Pane |
| Go | Pane |
| Java | Pane |
| Kotlin | Pane |
| Scala | cats scaladsl |
| C# | Pane |
| C++ | Pane:: |
| Swift | Server |
| OCaml | swap swap |
| Raku | Pane |
No method in PowerShell, Elixir, Haskell, Clojure, F#, or Perl sends this command itself.