A message across the top of a region, with an optional action and an optional dismissal.
More...
#include <view.hpp>
A message across the top of a region, with an optional action and an optional dismissal.
Definition at line 978 of file view.hpp.
◆ tone
What the message conveys.
Definition at line 980 of file view.hpp.
◆ text
| Prop<std::string> morph::ui::Banner::text |
◆ action
The button beside the message; an empty label shows none.
Definition at line 984 of file view.hpp.
◆ dismissible
| bool morph::ui::Banner::dismissible = false |
Whether the user can dismiss it; set once.
Definition at line 986 of file view.hpp.
◆ onDismiss
| Action morph::ui::Banner::onDismiss |
Called when the user dismisses it. The banner stays shown until the application hides it.
Definition at line 988 of file view.hpp.
◆ common
| Common morph::ui::Banner::common {} |
Visibility, enablement, layout, drag-and-drop.
Definition at line 990 of file view.hpp.
The documentation for this struct was generated from the following file: