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

A progress bar. More...

#include <view.hpp>

Public Attributes

Prop< std::optional< double > > value
 How far along, from 0 to 1; a value outside is shown at the nearer end. nullopt: indeterminate.
Prop< std::string > label
 A caption beside the bar.
Common common {}
 Visibility, enablement, layout, drag-and-drop.

Detailed Description

A progress bar.

Definition at line 1006 of file view.hpp.

Member Data Documentation

◆ value

Prop<std::optional<double> > morph::ui::Progress::value

How far along, from 0 to 1; a value outside is shown at the nearer end. nullopt: indeterminate.

Definition at line 1008 of file view.hpp.

◆ label

Prop<std::string> morph::ui::Progress::label

A caption beside the bar.

Definition at line 1010 of file view.hpp.

◆ common

Common morph::ui::Progress::common {}

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

Definition at line 1012 of file view.hpp.


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