Skip to content

DialogButton

#include <Dialog.hpp>

Describes a button in a dialog.

ReturnNameDescription
std::stringlabel
std::function< void()>onClick
boolisDefaultHighlighted as the primary action.

std::string label

std::function< void()> onClick

bool isDefault = false

Highlighted as the primary action.