MCPcopy Create free account
hub / github.com/audacity/audacity / ShowMultiDialog

Function ShowMultiDialog

libraries/lib-basic-ui/BasicUI.h:371–381  ·  view source on GitHub ↗

Display a dialog with radio buttons. ! @return zero-based index of the chosen button, or -1 if Services not installed. @param message main message in the dialog @param title dialog title @param buttons labels for individual radio buttons @param boxMsg label for the group of buttons @param helpPage identifies a manual page @param log whether to add a "Show Log for Details" push button */

Source from the content-addressed store, hash-verified

369 @param log whether to add a "Show Log for Details" push button
370 */
371inline int ShowMultiDialog(const TranslatableString &message,
372 const TranslatableString &title,
373 const TranslatableStrings &buttons,
374 const ManualPageID &helpPage,
375 const TranslatableString &boxMsg, bool log)
376{
377 if (auto p = Get())
378 return p->DoMultiDialog(message, title, buttons, helpPage, boxMsg, log);
379 else
380 return -1;
381}
382
383//! Find the window that is accepting keyboard input, if any
384/*!

Callers 2

TryLoadModulesMethod · 0.50
ProjectFSCKFunction · 0.50

Calls 2

GetFunction · 0.85
DoMultiDialogMethod · 0.45

Tested by

no test coverage detected