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

Options of textInput. More...

#include <author.hpp>

Public Attributes

AnyHandle value
 The value.
AnyHandle label
 The label: the accessible name.
AnyHandle placeholder
 Placeholder text.
AnyHandle mode
 The input mode, such as multiline or password.
AnyHandle icon
 An icon of the theme's icon map, drawn at the input's leading edge; empty shows none. Refused on a multiline input.
std::optional< Commit > commitOn
 When the draft commits.
Commands onChange
 Commands run on every edit.
Commands onCommit
 Commands run on a commit.
Commands onSubmit
 Commands run on Enter in a single-line input.

Detailed Description

Options of textInput.

Definition at line 3185 of file author.hpp.

Member Data Documentation

◆ value

AnyHandle morph::ui::author::TextInputOptions::value

The value.

Definition at line 3187 of file author.hpp.

◆ label

AnyHandle morph::ui::author::TextInputOptions::label

The label: the accessible name.

Definition at line 3189 of file author.hpp.

◆ placeholder

AnyHandle morph::ui::author::TextInputOptions::placeholder

Placeholder text.

Definition at line 3191 of file author.hpp.

◆ mode

AnyHandle morph::ui::author::TextInputOptions::mode

The input mode, such as multiline or password.

Definition at line 3193 of file author.hpp.

◆ icon

AnyHandle morph::ui::author::TextInputOptions::icon

An icon of the theme's icon map, drawn at the input's leading edge; empty shows none. Refused on a multiline input.

Definition at line 3196 of file author.hpp.

◆ commitOn

std::optional<Commit> morph::ui::author::TextInputOptions::commitOn

When the draft commits.

Definition at line 3198 of file author.hpp.

◆ onChange

Commands morph::ui::author::TextInputOptions::onChange

Commands run on every edit.

Definition at line 3200 of file author.hpp.

◆ onCommit

Commands morph::ui::author::TextInputOptions::onCommit

Commands run on a commit.

Definition at line 3202 of file author.hpp.

◆ onSubmit

Commands morph::ui::author::TextInputOptions::onSubmit

Commands run on Enter in a single-line input.

Definition at line 3204 of file author.hpp.


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