morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::author::DialogOptions Struct Reference

Options of dialog and drawer. More...

#include <author.hpp>

Public Attributes

AnyHandle title
 The title: the accessible name.
AnyHandle open
 Whether it is open; absent for open and close commands alone.
std::optional< ShowErrors > showErrors
 When its element errors show.
AnyHandle side
 A drawer's side, start or end.
Commands defaultAction
 Commands run on Enter.
Commands cancel
 Commands run on Escape.
Commands onDismiss
 Commands run when the user dismisses it.
std::vector< ActionButtonOptions > actions
 The buttons of its footer, run in its scope; each id once.

Detailed Description

Options of dialog and drawer.

Definition at line 3551 of file author.hpp.

Member Data Documentation

◆ title

AnyHandle morph::ui::author::DialogOptions::title

The title: the accessible name.

Definition at line 3553 of file author.hpp.

◆ open

AnyHandle morph::ui::author::DialogOptions::open

Whether it is open; absent for open and close commands alone.

Definition at line 3555 of file author.hpp.

◆ showErrors

std::optional<ShowErrors> morph::ui::author::DialogOptions::showErrors

When its element errors show.

Definition at line 3557 of file author.hpp.

◆ side

AnyHandle morph::ui::author::DialogOptions::side

A drawer's side, start or end.

Definition at line 3559 of file author.hpp.

◆ defaultAction

Commands morph::ui::author::DialogOptions::defaultAction

Commands run on Enter.

Definition at line 3561 of file author.hpp.

◆ cancel

Commands morph::ui::author::DialogOptions::cancel

Commands run on Escape.

Definition at line 3563 of file author.hpp.

◆ onDismiss

Commands morph::ui::author::DialogOptions::onDismiss

Commands run when the user dismisses it.

Definition at line 3565 of file author.hpp.

◆ actions

std::vector<ActionButtonOptions> morph::ui::author::DialogOptions::actions

The buttons of its footer, run in its scope; each id once.

Definition at line 3567 of file author.hpp.


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