Owning cold caption and eligibility for ordinary radio model creation; no hand-written ID required.
More...
#include <radio_group.hpp>
|
| | RadioOption (std::string_view caption, bool enabled=true, bool visible=true) |
| | RadioOption (TextValue caption, bool enabled=true, bool visible=true) |
|
| ~RadioOption ()=default |
| | Release the cold owning expression; copies retain ordinary fallible value semantics.
|
|
|
TextValue | text |
| | Literal or resource key, resolved with the receiving scene policy.
|
|
bool | enabled {true} |
| | User input eligibility; selection is preserved when disabled.
|
|
bool | visible {true} |
| | Whether the option occupies a row.
|
Owning cold caption and eligibility for ordinary radio model creation; no hand-written ID required.
◆ RadioOption() [1/2]
| portals::RadioOption::RadioOption |
( |
std::string_view | caption, |
|
|
bool | enabled = true, |
|
|
bool | visible = true ) |
|
inline |
- Parameters
-
| caption | Owning literal bytes. |
| enabled | Input eligibility. |
| visible | Row visibility. |
◆ RadioOption() [2/2]
| portals::RadioOption::RadioOption |
( |
TextValue | caption, |
|
|
bool | enabled = true, |
|
|
bool | visible = true ) |
|
inline |
- Parameters
-
| caption | Owning literal/resource expression. |
| enabled | Eligibility. |
| visible | Row visibility. |
The documentation for this struct was generated from the following file: