qskinny icon indicating copy to clipboard operation
qskinny copied to clipboard

QskDialog with callbacks

Open uwerat opened this issue 11 months ago • 0 comments

For applications, that do not want ( or can't f.e WebAssembly without Asyncify ) to use recursive event loops we need to have an API, where the return value is accessible using a QskFunction parameter.

Something along those lines:

qskDialog()->question( "Really ?", QskDialog::Yes | QskDialog::No, []( QskDialog::Action action ) { ... } );

uwerat avatar Mar 03 '24 10:03 uwerat