API Documentation
Public Attributes | List of all members
nkWinUi::PopupYesNoDescriptor Struct Referencefinal

Describes the behaviour a yes / no popup should have. More...

Public Attributes

nkMemory::String _message
 The message to prompt.
 
std::function< void()> _yesCallback
 The callback when the yes button is clicked.
 
std::function< void()> _noCallback
 The callback when the no button is clicked.
 
bool _closeOnOutsideClick = false
 Whether a click outside the popup should cause it to close itself, cancelling the interaction.
 

Detailed Description

Describes the behaviour a yes / no popup should have.


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