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

What Interpreter::mount is given beside the document. More...

#include <interpreter.hpp>

Public Attributes

ContainerWidget * parent = nullptr
 The container the screen's root widget is appended to; nullptr makes a backend root.
std::map< std::string, BorrowedModel, std::less<> > borrowed
 The models the opener lends, by the alias of this screen that borrows them.
std::size_t depth = 0
 The reactive scope depth of the screen's own scope.
Screen const * keepStateOf = nullptr
 The screen this mount replaces, such as one whose document changed; nullptr for a fresh mount. Each state of the new screen's own scope starts from that screen's value of the state of the same name and type, instead of from its init. Borrowed for the call.

Detailed Description

What Interpreter::mount is given beside the document.

Definition at line 1447 of file interpreter.hpp.

Member Data Documentation

◆ parent

ContainerWidget* morph::ui::MountOptions::parent = nullptr

The container the screen's root widget is appended to; nullptr makes a backend root.

Definition at line 1449 of file interpreter.hpp.

◆ borrowed

std::map<std::string, BorrowedModel, std::less<> > morph::ui::MountOptions::borrowed

The models the opener lends, by the alias of this screen that borrows them.

Definition at line 1451 of file interpreter.hpp.

◆ depth

std::size_t morph::ui::MountOptions::depth = 0

The reactive scope depth of the screen's own scope.

Definition at line 1453 of file interpreter.hpp.

◆ keepStateOf

Screen const* morph::ui::MountOptions::keepStateOf = nullptr

The screen this mount replaces, such as one whose document changed; nullptr for a fresh mount. Each state of the new screen's own scope starts from that screen's value of the state of the same name and type, instead of from its init. Borrowed for the call.

Definition at line 1457 of file interpreter.hpp.


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