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

A modal overlay; its content is mounted only while it is open. More...

#include <view.hpp>

Public Attributes

Prop< bool > open
 Whether it is shown.
Prop< std::string > title
 The title.
Node child
 The content; may be null.
Action onDismiss
 Called when the user dismisses it (Esc on the TUI).
Common common {}
 Visibility, enablement, layout, drag-and-drop.

Detailed Description

A modal overlay; its content is mounted only while it is open.

Definition at line 694 of file view.hpp.

Member Data Documentation

◆ open

Prop<bool> morph::ui::Dialog::open

Whether it is shown.

Definition at line 696 of file view.hpp.

◆ title

Prop<std::string> morph::ui::Dialog::title

The title.

Definition at line 698 of file view.hpp.

◆ child

Node morph::ui::Dialog::child

The content; may be null.

Definition at line 700 of file view.hpp.

◆ onDismiss

Action morph::ui::Dialog::onDismiss

Called when the user dismisses it (Esc on the TUI).

Definition at line 702 of file view.hpp.

◆ common

Common morph::ui::Dialog::common {}

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

Definition at line 704 of file view.hpp.


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