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

A button inside another kind, such as a banner's action: its caption beside its handler. More...

#include <view.hpp>

Public Attributes

Prop< std::string > label
 The caption; empty shows no button.
Action onClick
 Called when the button is activated.

Detailed Description

A button inside another kind, such as a banner's action: its caption beside its handler.

Definition at line 970 of file view.hpp.

Member Data Documentation

◆ label

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

The caption; empty shows no button.

Definition at line 972 of file view.hpp.

◆ onClick

Action morph::ui::ActionButton::onClick

Called when the button is activated.

Definition at line 974 of file view.hpp.


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