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

One option of a Select. More...

#include <view.hpp>

Public Member Functions

bool operator== (SelectOption const &) const =default
 Memberwise equality.

Public Attributes

Key key
 The option's identity.
std::string label
 The caption.

Detailed Description

One option of a Select.

Definition at line 487 of file view.hpp.

Member Function Documentation

◆ operator==()

bool morph::ui::SelectOption::operator== ( SelectOption const & ) const
default

Memberwise equality.

Returns
Whether key and label match.

Member Data Documentation

◆ key

Key morph::ui::SelectOption::key

The option's identity.

Definition at line 489 of file view.hpp.

◆ label

std::string morph::ui::SelectOption::label

The caption.

Definition at line 491 of file view.hpp.


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