Selection.new/2
Materializes the observed items of an entity without I/O.
Source and package
- Qualified name
-
LibTmux .Selection .new/2 - Module
- LibTmux
- Declared in
- Selection
- Package
- libtmux
- Source
- lib/libtmux/selection.ex
- new(snapshot, entity) @spec new( Lib
Tmux (), :session | Lib.Snapshot .t Tmux ) :: t(Lib.Session Tmux ())new(snapshot, entity) @spec new(Lib.Session .t Tmux (), :window | Lib.Snapshot .t Tmux ) :: t(Lib.Window Tmux ())new(snapshot, entity) @spec new(Lib.Window .t Tmux (), :pane | Lib.Snapshot .t Tmux ) :: t(Lib.Pane Tmux ())new(snapshot, entity) @spec new( Lib.Pane .t Tmux (), :window_link | Lib.Snapshot .t Tmux ) :: t(Lib.Window Link Tmux ())new(snapshot, entity) @spec new(Lib.Window Link .t Tmux (), :client | Lib.Snapshot .t Tmux ) :: t(Lib.Client Tmux ()).Client .t -
Description#
See the worked example.
- Parameters
-
-
entity(:session | LibTmux ) # for.Session new/2(snapshot, entity) [overload 1] -
entity(:window | LibTmux ) # for.Window new/2(snapshot, entity) [overload 2] -
entity(:pane | LibTmux ) # for.Pane new/2(snapshot, entity) [overload 3] -
entity(:window_link | LibTmux ) # for.Window Link new/2(snapshot, entity) [overload 4] -
entity(:client | LibTmux ) # for.Client new/2(snapshot, entity) [overload 5]