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

Static or bound text. More...

#include <view.hpp>

Public Attributes

Prop< std::string > text
 The text, UTF-8.
Prop< TextRole > role = TextRole::Normal
 The style.
FieldState field {}
 Read-only, required, errors and stale.
Common common {}
 Visibility, enablement, layout, drag-and-drop.

Detailed Description

Static or bound text.

Definition at line 406 of file view.hpp.

Member Data Documentation

◆ text

Prop<std::string> morph::ui::Text::text

The text, UTF-8.

Definition at line 408 of file view.hpp.

◆ role

Prop<TextRole> morph::ui::Text::role = TextRole::Normal

The style.

Definition at line 410 of file view.hpp.

◆ field

FieldState morph::ui::Text::field {}

Read-only, required, errors and stale.

Definition at line 412 of file view.hpp.

◆ common

Common morph::ui::Text::common {}

Visibility, enablement, layout, drag-and-drop.

Definition at line 414 of file view.hpp.


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