Describes how a custom popup should behave. More...
Public Attributes | |
nkWinUi::Component * | _customComponent = nullptr |
std::function< void()> | _initializationCallback |
bool | _closeOnOutsideClick = false |
Whether a click outside the popup should cause it to close itself, cancelling the interaction. | |
Describes how a custom popup should behave.
nkWinUi::Component* nkWinUi::PopupCustomDescriptor::_customComponent = nullptr |
The component that should be displayed in the popup. It is required to be set, and needs to have no parent component.
std::function<void ()> nkWinUi::PopupCustomDescriptor::_initializationCallback |
The callback to call once the window is fitted in the popup and loaded. Useful to set some focus for instance.