![]() |
Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
|
Mixin interface for client objects that expose a textual title. More...
#include "HNWithTitle.h"

Public Member Functions | |
| const std::string & | title () const noexcept |
| Returns the current title. | |
| void | setTitle (const std::string &title) noexcept |
| Updates the title and notifies the bar. | |
| virtual | ~HNWithTitle () noexcept=default |
| Virtual destructor (makes the mixin polymorphic for safe cross-casts). | |
Mixin interface for client objects that expose a textual title.
|
noexcept |
Updates the title and notifies the bar.
If the new title equals the current one, nothing is sent. Otherwise the change is queued and delivered to the bar on the next commit().
| title | New title. |
|
inlinenoexcept |
Returns the current title.