|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Immutable settings for a ready-made modal choice dialog. More...
#include <message_box.hpp>
Public Attributes | |
| DialogOptions | dialog {} |
| Existing panel settings; MODAL and closeOnEscape are required. | |
| MessageLabels | labels {} |
| Owning captions; empty or multiline captions are rejected. | |
| TextResolver | resolver {} |
| Explicit synchronous localization; never retained by mounted widgets. | |
| std::optional< MessageChoice > | defaultChoice {} |
| Absent selects preset safety: ACKNOWLEDGE for OK, NO for YES_NO, otherwise CANCEL. | |
| bool | allowDestructiveDefault {} |
| Explicit permission for CONFIRM/DISCARD initial focus. | |
| TextLimits | textLimits {16384, 4096, 16384, 32768} |
| Positive per-value UTF-8/cluster/grapheme/cell caps. | |
| std::size_t | maxBodyLines {4096} |
| Positive wrapped explanation line cap; excess is NODE_LIMIT. | |
| std::vector< MessageChoice > | order |
| Empty uses preset order; otherwise all active roles exactly once, at most three. | |
Immutable settings for a ready-made modal choice dialog.
| std::vector<MessageChoice> portals::ui::MessageOptions::order |
Empty uses preset order; otherwise all active roles exactly once, at most three.