guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
guillaume::components::NavigationDrawer::Entry Struct Reference

Description of one drawer entry, as given by the user. More...

#include <headers/guillaume/components/navigation_drawer.hpp>

Public Member Functions

bool operator== (const Entry &other) const =default
 Compare two entries.

Public Attributes

EntryKind kind { EntryKind::Destination }
 What it is.
std::string icon {}
 Icon glyph name of a destination.
std::string label {}
 Destination label or section title.
std::string right {}
bool disabled { false }

Detailed Description

Description of one drawer entry, as given by the user.

icon, right and disabled only apply to destinations.

Definition at line 87 of file navigation_drawer.hpp.

Member Function Documentation

◆ operator==()

bool guillaume::components::NavigationDrawer::Entry::operator== ( const Entry & other) const
default

Compare two entries.

Parameters
otherThe entry to compare with.
Returns
True when every field is equal.

Member Data Documentation

◆ disabled

bool guillaume::components::NavigationDrawer::Entry::disabled { false }

True when the destination ignores presses.

Definition at line 93 of file navigation_drawer.hpp.

◆ icon

std::string guillaume::components::NavigationDrawer::Entry::icon {}

Icon glyph name of a destination.

Definition at line 89 of file navigation_drawer.hpp.

◆ kind

EntryKind guillaume::components::NavigationDrawer::Entry::kind { EntryKind::Destination }

What it is.

Definition at line 88 of file navigation_drawer.hpp.

◆ label

std::string guillaume::components::NavigationDrawer::Entry::label {}

Destination label or section title.

Definition at line 90 of file navigation_drawer.hpp.

◆ right

std::string guillaume::components::NavigationDrawer::Entry::right {}

Text at the trailing edge of a destination, such as a count.

Definition at line 91 of file navigation_drawer.hpp.


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