Represents an entry within the combo box. More...
Public Member Functions | |
Entry () noexcept | |
~Entry () | |
nkMemory::StringView | getLabel () const |
void * | getAttachedData () const |
void | setLabel (nkMemory::StringView label) |
void | setAttachedData (void *data) |
Represents an entry within the combo box.
|
noexcept |
Constructor.
nkWinUi::ComboBox::Entry::~Entry | ( | ) |
Destructor.
nkMemory::StringView nkWinUi::ComboBox::Entry::getLabel | ( | ) | const |
void* nkWinUi::ComboBox::Entry::getAttachedData | ( | ) | const |
void nkWinUi::ComboBox::Entry::setLabel | ( | nkMemory::StringView | label | ) |
Sets the label.
label | The label to set. |
void nkWinUi::ComboBox::Entry::setAttachedData | ( | void * | data | ) |
Sets the user data attached.
data | The data to attach. |