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

One action of the dialog, drawn as a text button in the action row. More...

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

Public Attributes

std::string label
 Text of the button.
std::function< void(void)> onPress

Detailed Description

One action of the dialog, drawn as a text button in the action row.

Definition at line 71 of file dialog.hpp.

Member Data Documentation

◆ label

std::string guillaume::components::Dialog::Action::label

Text of the button.

Definition at line 72 of file dialog.hpp.

◆ onPress

std::function<void(void)> guillaume::components::Dialog::Action::onPress

Called on press; may be empty.

Definition at line 73 of file dialog.hpp.


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