Ask the user for confirmation.
The heading is the question, not the application's name and version: what an alert is asking has to be readable from its title alone, and "GPaste 51.0" asks nothing.
| parent |
the parent Window |
| heading |
the question being asked |
| body |
what confirming it does |
| action |
the label for the confirm button |
| appearance |
how the confirm button should look -- destructive only when something is actually lost |
| on_confirmation |
handed whether the user confirmed -- called exactly once, a dialog whose window is destroyed under it and a call that is refused both answering false |