docs: add mux_window:gui_window()
This commit is contained in:
1 parent
30a2223524
commit
df596da4ea
4 files changed
+21
-24
No files matched your search
+7
-6
@@ -15,14 +15,15 @@
|
||||
/docs/cli/cli/index.md
|
||||
/docs/colorschemes/**/index.md
|
||||
/docs/config/lua/config/index.md
|
||||
/docs/config/lua/wezterm/index.md
|
||||
/docs/config/lua/wezterm.mux/index.md
|
||||
/docs/config/lua/pane/index.md
|
||||
/docs/config/lua/window/index.md
|
||||
/docs/config/lua/mux-events/index.md
|
||||
/docs/config/lua/gui-events/index.md
|
||||
/docs/config/lua/window-events/index.md
|
||||
/docs/config/lua/keyassignment/index.md
|
||||
/docs/config/lua/mux-events/index.md
|
||||
/docs/config/lua/mux-window/index.md
|
||||
/docs/config/lua/pane/index.md
|
||||
/docs/config/lua/wezterm.mux/index.md
|
||||
/docs/config/lua/wezterm/index.md
|
||||
/docs/config/lua/window-events/index.md
|
||||
/docs/config/lua/window/index.md
|
||||
/docs/mermaid.min.js
|
||||
**/*.rs.bk
|
||||
.*.sw*
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# `window:gui_window()`
|
||||
|
||||
*Since: nightly builds only*
|
||||
|
||||
Attempts to resolve this mux window to its corresponding [Gui Window](../window/index.md).
|
||||
|
||||
This may not succeed for a couple of reasons:
|
||||
|
||||
* If called by the multiplexer daemon, there is no gui, so this will never succeed
|
||||
* If the mux window is part of a workspace that is not the active workspace
|
||||
|
||||
This method is the inverse of [window:mux_window](../window/mux_window.md).
|
||||
@@ -1,18 +0,0 @@
|
||||
# MuxWindow
|
||||
|
||||
*Since: 20220624-141144-bd1b7c5d*
|
||||
|
||||
`MuxWindow` represents a window that is managed by the multiplexer.
|
||||
|
||||
It has the following methods:
|
||||
|
||||
|
||||
|
||||
- [get_title](get_title.md)
|
||||
- [get_workspace](get_workspace.md)
|
||||
- [set_title](set_title.md)
|
||||
- [set_workspace](set_workspace.md)
|
||||
- [spawn_tab](spawn_tab.md)
|
||||
- [tabs](tabs.md)
|
||||
- [tabs_with_info](tabs_with_info.md)
|
||||
- [window_id](window_id.md)
|
||||
@@ -3,3 +3,5 @@
|
||||
*Since: nightly builds only*
|
||||
|
||||
Returns the [MuxWindow](../mux-window/index.md) representation of this window.
|
||||
|
||||
This method is the inverse of [mux_window:gui_window](../mux-window/gui_window.md).
|
||||
Reference in new issue
Block a user