AlertDialog.choose
void choose(gtk.window.Window parent = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)This function shows the alert to the user.
The callback will be called when the alert is dismissed. It should call [gtk.alert_dialog.AlertDialog.chooseFinish] to obtain the result.
It is ok to pass NULL for the callback if the alert does not have more than one button. A simpler API for this case is [gtk.alert_dialog.AlertDialog.show].
Parameters
parent | the parent [gtk.window.Window] |
cancellable | a [gio.cancellable.Cancellable] to cancel the operation |
callback | a callback to call when the operation is complete |