Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-cxx latest

Session.window_count

Source and package
Qualified name
libtmux::Session::window_count
Namespace
libtmux
Declared in
Session
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python RubyLua TypeScript RustGo Java C# Swift Kotlin Scala OCaml F# Clojure
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] long long window_count() const noexcept;

In other ports#

How many windows the session holds

Equivalents of How many windows the session holds in other languages
Language Equivalent
Python no equivalent on Session
Ruby LibTmux::SessionSnapshot#window_count
Lua libtmux.SnapshotSession.window_count
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Session
Rust session.Session.window_count
Go tmux.Session.WindowCount
Java no equivalent on Session
C# no equivalent on Session
Swift Session.windowCount
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl Count Session::window_links membership; repeated links remain distinct occurrences.

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference