![]() |
Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
|
Top bar container displayed in the bar. More...
#include "HNTopbar.h"


Additional Inherited Members | |
Public Types inherited from HNObject | |
| enum | Type { Topbar , Menu , Action , Toggle , Divider } |
| Enumeration of the possible object roles. More... | |
Public Member Functions inherited from HNObject | |
| UInt32 | id () const noexcept |
| Returns the client-assigned unique identifier of this object. | |
| Type | type () const noexcept |
| Returns the immutable role/type of this object. | |
| HNClient * | client () const noexcept |
| Returns the client that owns this object. | |
| void | click () noexcept |
| Notifies the owning client that this object was clicked. | |
Public Member Functions inherited from HNWithChildren | |
| const std::list< HNObject * > & | children () const noexcept |
| Returns the ordered list of child objects. | |
| virtual | ~HNWithChildren () noexcept=default |
| Virtual destructor. | |
Static Public Member Functions inherited from HNObject | |
| static bool | IsValidType (UInt32 type) noexcept |
| Checks whether a numeric value is a valid object type. | |
Protected Member Functions inherited from HNObject | |
| HNObject (UInt32 id, Type type) noexcept | |
| Constructs an object with the given id and role. | |
Top bar container displayed in the bar.
A topbar hosts menus and represents the menu set of a single client window. A client may own several topbars and report which one is currently active (see HNClient::activeTopbar()).