|
guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
|
What one segment shows and whether it can be pressed. More...
#include <headers/guillaume/components/segmented_button.hpp>
Public Member Functions | |
| bool | operator== (const Segment &other) const =default |
| Compare two segment configurations. | |
Public Attributes | |
| std::string | label {} |
| std::string | icon {} |
| bool | disabled { false } |
| std::string | accessibilityLabel {} |
What one segment shows and whether it can be pressed.
Definition at line 75 of file segmented_button.hpp.
|
default |
Compare two segment configurations.
| other | The configuration to compare with. |
| std::string guillaume::components::SegmentedButton::Segment::accessibilityLabel {} |
Name announced by assistive technology; empty to keep the one of the button.
Definition at line 83 of file segmented_button.hpp.
| bool guillaume::components::SegmentedButton::Segment::disabled { false } |
Whether the segment is disabled.
Definition at line 80 of file segmented_button.hpp.
| std::string guillaume::components::SegmentedButton::Segment::icon {} |
Glyph name of the leading icon shown while not selected; empty for none.
Definition at line 79 of file segmented_button.hpp.
| std::string guillaume::components::SegmentedButton::Segment::label {} |
Visible label.
Definition at line 76 of file segmented_button.hpp.