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

One pressable icon of the bar: the leading navigation icon or a trailing action. More...

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

Public Attributes

std::string icon {}
 Icon glyph name; empty means no icon.
std::function< void(void)> onPress {}
 Called on press.
std::string accessibilityLabel {}
bool disabled { false }
 True when the icon ignores input.

Detailed Description

One pressable icon of the bar: the leading navigation icon or a trailing action.

Definition at line 70 of file app_bar.hpp.

Member Data Documentation

◆ accessibilityLabel

std::string guillaume::components::AppBar::Action::accessibilityLabel {}

Name read by a screen reader.

Definition at line 73 of file app_bar.hpp.

◆ disabled

bool guillaume::components::AppBar::Action::disabled { false }

True when the icon ignores input.

Definition at line 75 of file app_bar.hpp.

◆ icon

std::string guillaume::components::AppBar::Action::icon {}

Icon glyph name; empty means no icon.

Definition at line 71 of file app_bar.hpp.

◆ onPress

std::function<void(void)> guillaume::components::AppBar::Action::onPress {}

Called on press.

Definition at line 72 of file app_bar.hpp.


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