![]() |
Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
|
Mixin interface for objects that can be enabled or disabled. More...
#include "HNWithEnabled.h"

Public Member Functions | |
| bool | enabled () const noexcept |
| Returns whether the object is currently enabled. | |
| virtual | ~HNWithEnabled () noexcept=default |
| Virtual destructor. | |
Mixin interface for objects that can be enabled or disabled.
A disabled object is typically rendered as grayed-out and does not react to user interaction.
|
virtualdefaultnoexcept |
Virtual destructor.
Declared virtual so this mixin is polymorphic, enabling safe cross-casts (via dynamic_cast) between the different base subobjects of a concrete object.
|
inlinenoexcept |
Returns whether the object is currently enabled.