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

Options of select. More...

#include <author.hpp>

Public Attributes

AnyHandle options
 The options: a list of {key, label} records.
AnyHandle selected
 The selected key.
AnyHandle label
 The label: the accessible name.
AnyHandle style
 The presentation, such as radio.
std::optional< OnStale > onStale
 What happens to a selection the options no longer hold.
Commands onChoose
 Commands run with the chosen key.
Commands onChange
 Commands run on a change.

Detailed Description

Options of select.

Definition at line 3258 of file author.hpp.

Member Data Documentation

◆ options

AnyHandle morph::ui::author::SelectOptions::options

The options: a list of {key, label} records.

Definition at line 3260 of file author.hpp.

◆ selected

AnyHandle morph::ui::author::SelectOptions::selected

The selected key.

Definition at line 3262 of file author.hpp.

◆ label

AnyHandle morph::ui::author::SelectOptions::label

The label: the accessible name.

Definition at line 3264 of file author.hpp.

◆ style

AnyHandle morph::ui::author::SelectOptions::style

The presentation, such as radio.

Definition at line 3266 of file author.hpp.

◆ onStale

std::optional<OnStale> morph::ui::author::SelectOptions::onStale

What happens to a selection the options no longer hold.

Definition at line 3268 of file author.hpp.

◆ onChoose

Commands morph::ui::author::SelectOptions::onChoose

Commands run with the chosen key.

Definition at line 3270 of file author.hpp.

◆ onChange

Commands morph::ui::author::SelectOptions::onChange

Commands run on a change.

Definition at line 3272 of file author.hpp.


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