tmuxtmuxC source reference

Choose documentation 1

3.7c

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

function tmux

cmd_select_layout_exec

Source
Qualified name
cmd_select_layout_exec
Source
cmd-select-layout.c
static enum cmd_retval cmd_select_layout_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command next-layout, previous-layout, select-layout

Call neighborhood

source calls

Direct calls this declaration makes and receives, as recorded from the source.

Called by

None recorded. Reached through cmd_next_layout_entry, cmd_previous_layout_entry and cmd_select_layout_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_select_layout_exec.

Calls

source calls 17

Declarations cmd_select_layout_exec calls directly.

Other function references

references 1

Functions cmd_select_layout_exec takes as a pointer or callback. It does not call them.

Referenced by

references 3

Declarations that take cmd_select_layout_exec as a pointer or callback: a reference, not a call.

Referenced declarations

type references 13

Types and data cmd_select_layout_exec names in its declaration.

In libtmux

These methods send next-layout.

Library methods that send tmux next-layout, by scope
Language Methods
Python Window.next_layout
Common Lisp client.next-layout
TypeScript Window.nextLayout
Go Window.NextLayout
Java Window.nextLayout
Kotlin Window.nextLayout
Scala cats.Window.nextLayout scaladsl.Window.nextLayout
C# Window.SelectNextLayoutAsync
C++ Window::next_layout
Swift Server.nextLayout(_:)
OCaml cycle_layout direction is `Next cycle_layout direction is `Next
Raku WindowRef.next-layout

No method in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Haskell, Rust, Clojure, F#, or Perl sends this command itself.

These methods send previous-layout.

Library methods that send tmux previous-layout, by scope
Language Methods
Python Window.previous_layout
Common Lisp client.previous-layout
TypeScript Window.previousLayout
Go Window.PreviousLayout
Java Window.previousLayout
Kotlin Window.previousLayout
Scala cats.Window.previousLayout scaladsl.Window.previousLayout
C# Window.SelectPreviousLayoutAsync
C++ Window::previous_layout
Swift Server.previousLayout(_:)
OCaml cycle_layout direction is `Previous cycle_layout direction is `Previous
Raku WindowRef.previous-layout

No method in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Haskell, Rust, Clojure, F#, or Perl sends this command itself.

These methods send select-layout.

Esc

Type to search.

Reference previewOpen reference