strings indicating the labels for buttons beyond the second
returnButton :boolean
by default, if there are only two buttons, the return value is a boolean
indicating whether the ‘yes’ button was pressed; if you wish to always
force the label of the pressed button to be returned, set this to True
kwargs :dict of objects
keyword args to pass to the underlying confirmDialog call
result :bool or str
by default, if there are only two buttons, the return value is a boolean
indicating whether the ‘yes’ button was pressed; otherwise, if there
were more than two buttons or the returnButton keyword arg was set to
True, the name of the pressed button is returned (or the dismissString,
as explained in the docs for confirmDialog)