tmuxtmuxC source reference

Choose documentation 1

latest

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

function tmux

cmd_set_option_exec

Source
Qualified name
cmd_set_option_exec
Source
cmd-set-option.c
static enum cmd_retval cmd_set_option_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command set-hook, set-option, set-window-option

Call neighborhood

source calls

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

Called by

None recorded. Reached through cmd_set_hook_entry, cmd_set_option_entry and cmd_set_window_option_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_set_option_exec.

Calls

source calls 20

Declarations cmd_set_option_exec calls directly.

Other function references

references 3

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

Referenced by

references 3

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

Referenced declarations

type references 15

Types and data cmd_set_option_exec names in its declaration.

In libtmux

These methods send set-hook.

Library methods that send tmux set-hook, by scope
Language Methods
Python HooksMixin.run_hook HooksMixin.set_hook HooksMixin.set_hooks HooksMixin.unset_hook Pane.run_hook Pane.set_hook Pane.set_hooks Pane.unset_hook Server.run_hook Server.set_hook Server.set_hooks Server.unset_hook Session.run_hook Session.set_hook Session.set_hooks Session.unset_hook Window.run_hook Window.set_hook Window.set_hooks Window.unset_hook
Ruby Hooks#run Hooks#set Hooks#unset
Lua Pane:run_hook Pane:set_hook Pane:unset_hook Server:set_hook Server:unset_hook Session:run_hook Session:set_hook Session:unset_hook Window:run_hook Window:set_hook Window:unset_hook
PowerShell Set-TmuxHook
Julia set_hook unset_hook
Erlang run/2 unset/2
Haskell setHook setHookWith unsetHook unsetHookWith
Common Lisp client.set-hook client.unset-hook
TypeScript Pane.setHook Pane.unsetHook Server.setHook Server.unsetHook Session.setHook Session.unsetHook Window.setHook Window.unsetHook
Rust Pane.set_hook Pane.unset_hook Server.set_hook Server.set_hooks Server.unset_hook Session.set_hook Session.set_hooks Session.unset_hook Window.set_hook Window.set_hooks Window.unset_hook
Go GlobalSessionScope.AppendHook GlobalSessionScope.SetHook GlobalSessionScope.SetHooks GlobalSessionScope.UnsetHook GlobalWindowScope.AppendHook GlobalWindowScope.SetHook GlobalWindowScope.SetHooks GlobalWindowScope.UnsetHook Pane.AppendHook Pane.SetHook Pane.SetHooks Pane.UnsetHook Session.AppendHook Session.SetHook Session.SetHooks Session.UnsetHook Window.AppendHook Window.SetHook Window.SetHooks Window.UnsetHook
Java Hooks.append Hooks.run Hooks.set Hooks.unset
Clojure append-hook! set-hook! unset-hook!
Kotlin Hooks.`set` Hooks.append Hooks.run Hooks.unset
Scala Hooks.append Hooks.run Hooks.set Hooks.unset
C# TmuxHooks.SetAsync TmuxHooks.UnsetAsync
C++ Server::set_global_hook Session::set_hook
Swift Server.runHook(_:in:) Server.setHook(_:to:at:in:) Server.unsetHook(_:in:)
OCaml remove_hook remove_hook run_hook run_hook set_hook set_hook
Perl Async::Server::set_hook LibTmux::Server::set_hook
Raku Hooks.append Hooks.run Hooks.set Hooks.unset

No method in Elixir or F# sends this command itself.

These methods send set-option.

Library methods that send tmux set-option, by scope
Language Methods
Python OptionsMixin.set_option OptionsMixin.unset_option Pane.set_option Pane.unset_option Server.set_option Server.unset_option Session.set_option Session.unset_option Window.set_option Window.set_window_option Window.unset_option
Ruby Options#set Options#unset
Lua Pane:set_option Pane:unset_option Server:set_option Server:unset_option Session:set_option Session:unset_option Window:set_option Window:unset_option
PowerShell Set-TmuxOption
Julia set_option unset_option
Erlang set/3 set/4 unset/2
Elixir Control.submit!/3 the request sets a user option Control.submit/3 the request sets a user option
Haskell runProgram setOption setOptionWith unsetOption unsetOptionWith withProgram
Common Lisp client.set-option client.unset-option
TypeScript Pane.setOption Pane.unsetOption Server.setGlobalOption Server.setOption Server.unsetGlobalOption Server.unsetOption Session.setOption Session.unsetOption Window.setOption Window.unsetOption
Rust Pane.append_option Pane.set_option Pane.set_typed_option Pane.unset_option Plan.run the plan has a set-option step Plan.run_over_control_mode the plan has a set-option step Server.append_array_option Server.set_array_option Server.set_global_option Server.set_global_window_option Server.set_option Server.set_typed_global_option Server.set_typed_global_window_option Server.set_typed_option Server.unset_array_option Server.unset_option Session.append_option Session.set_option Session.set_typed_option Session.unset_option Window.append_option Window.set_option Window.set_typed_option Window.unset_option
Go GlobalSessionScope.AppendOption GlobalSessionScope.SetOption GlobalSessionScope.UnsetOption GlobalWindowScope.AppendOption GlobalWindowScope.SetOption GlobalWindowScope.UnsetOption Pane.AppendOption Pane.SetOption Pane.UnsetOption Server.AppendOption Server.SetOption Server.UnsetOption Session.AppendOption Session.SetOption Session.UnsetOption Window.AppendOption Window.SetOption Window.UnsetOption
Java Options.append Options.set Options.setExpanded Options.setIfAbsent Options.unset
Clojure set-option! unset-option!
Kotlin Options.append Options.set Options.setExpanded Options.setIfAbsent Options.unset
Scala Options.append Options.set Options.setExpanded Options.setIfAbsent Options.unset
C# TmuxOptions.SetAsync TmuxOptions.UnsetAsync
F# set
C++ Pane::set_option Pane::unset_option Server::set_global_option Server::set_server_option Session::set_option Session::unset_option Window::set_option Window::unset_option
Swift Server.setOption(_:to:scope:) Server.unsetOption(_:scope:)
OCaml clear_option_array clear_option_array set_option set_option unset_option unset_option
Perl Async::Server::set_option Async::Server::unset_option LibTmux::Server::set_option LibTmux::Server::unset_option
Raku Options.set Options.set-raw Options.unset
Esc

Type to search.

Reference previewOpen reference