spawn_window
Source
- Qualified name
-
spawn_window - Source
- spawn.c
-
- Parameters
-
-
sc(struct spawn_context *) -
cause(char **)
-
Call neighborhood
source callsDirect calls this declaration makes and receives, as recorded from the source.
Direct calls recorded in this source version (tmux e476c12). Callback references appear separately below. Documentation here is sparse: the model has no summary for spawn_window.
Paths through the source
source callsFollow these functions to explore a task. Arrows show source relationships.
Create a session and its first pane
- cmd_new_session_exec
- calls → spawn_window
- calls → spawn_pane
- calls → window_add_pane
- calls → window_pane_create
Called by
source calls 2Declarations that call spawn_window directly.
- cmd_new_session_exec function Call site ↗
- cmd_respawn_window_exec function Call site ↗
Calls
source calls 18Declarations spawn_window calls directly.
- default_window_name function Call site ↗
- default_window_size function Call site ↗
- layout_free function Call site ↗
- layout_init function Call site ↗
- notify_session_window function Call site ↗
- options_set_number function Call site ↗
- session_group_synchronize_from function Call site ↗
- session_select function Call site ↗
- spawn_log function Call site ↗
- spawn_pane function Call site ↗
- window_destroy_panes function Call site ↗
- window_set_active_pane function Call site ↗
- winlink_find_by_index function Call site ↗
- winlink_remove function Call site ↗
- winlink_set_window function Call site ↗
- winlink_stack_remove function Call site ↗
- xasprintf function Call site ↗
- xstrdup function Call site ↗
Other function references
references 3Functions spawn_window takes as a pointer or callback. It does not call them.
- options_get_number function
- window_create function
- winlink_add function
Referenced by
references 1Declarations that take spawn_window as a pointer or callback: a reference, not a call.
- cmd_new_window_exec function
Referenced declarations
type references 32Types and data spawn_window names in its declaration.
- window.active attribute
- session.curw attribute
- winlink.entry attribute
- window_pane.fd attribute
- spawn_context.flags attribute
- winlink.flags attribute
- spawn_context.idx attribute
- winlink.idx attribute
- session.lastw attribute
- window.latest attribute
- session.name attribute
- spawn_context.name attribute
- window.name attribute
- session.options attribute
- window.options attribute
- window.panes attribute
- spawn_context.s attribute
- winlink.session attribute
- spawn_context struct
- SPAWN_DETACHED constant
- SPAWN_KILL constant
- SPAWN_NONOTIFY constant
- SPAWN_RESPAWN constant
- window.sx attribute
- window.sy attribute
- spawn_context.tc attribute
- winlink.window attribute
- session.windows attribute
- winlink struct
- WINLINK_ALERTFLAGS constant
- spawn_context.wl attribute
- spawn_context.wp0 attribute