TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::MessageButton Struct Reference

A button of a MessageDialog. More...

#include <gui_controls/gui_application.h>

Public Attributes

std::string_view label
 A verb that says what happens ("Quit", "Keep mine"), never Yes / No.
MessageButtonKind kind = MessageButtonKind::Secondary
 its look; see MessageButtonKind
bool alignLeft = false
 the alternative to the main choice ("Don't save")

Detailed Description

A button of a MessageDialog.

Member Data Documentation

◆ label

std::string_view tachyon::MessageButton::label

A verb that says what happens ("Quit", "Keep mine"), never Yes / No.

Its first letter is the Alt mnemonic.

◆ kind

MessageButtonKind tachyon::MessageButton::kind = MessageButtonKind::Secondary

its look; see MessageButtonKind

◆ alignLeft

bool tachyon::MessageButton::alignLeft = false

the alternative to the main choice ("Don't save")


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