# libtmux::Window::show_message

- **Module:** libtmux::Window
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/entities.hpp#L646
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-window-show_message/

```
libtmux::Window::show_message(text: std::string_view) -> expected< void, CommandFailure >
```

Show a message to the clients watching this window's session.

The window is the context the text expands in, not just who sees it: `#{window_name}` in a message sent from here names this window even while another is the active one.
