Workspace ManagerstableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

tmuxp.workspace.builder.ClassicWorkspaceBuilder.iter_create_windows

tmuxp.workspace.builder.ClassicWorkspaceBuilder.iter_create_windows ( self, session: Session, append: bool = False ) → Iterator[t.Any]

Return libtmux.Window iterating through session config dict.

Description#

Generator yielding libtmux.Window by iterating through session_config['windows'].

Applies window_options to window.

Parameters
Returns

tuple of ( libtmux.Window , window_config) Newly created window, and the section from the tmuxp configuration that was used to create the window.

Esc

Type to search.

Reference preview Open reference