# libtmux::Window::show_message

- **Module:** libtmux::Window
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L534
- **Page:** https://libtmux.org/reference/cxx/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.
