Heaven v0.1.0-1
C++ global-menu library for Wayland sessions
Loading...
Searching...
No Matches
HNDivider Class Reference

Non-interactive separator displayed in the bar. More...

#include "HNDivider.h"

Inheritance diagram for HNDivider:
Inheritance graph
[legend]
Collaboration diagram for HNDivider:
Collaboration graph
[legend]

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.
 
HNClientclient () 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 HNWithTitle
const std::string & title () const noexcept
 Returns the current title of the object.
 
virtual ~HNWithTitle () noexcept=default
 Virtual destructor.
 
- Public Member Functions inherited from HNWithParent
HNObjectparent () const noexcept
 Returns the current parent of this object.
 
virtual ~HNWithParent () 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.
 

Detailed Description

Non-interactive separator displayed in the bar.

A divider can optionally carry a title, which the bar may render as a section label.


The documentation for this class was generated from the following file: