chooseFinish

open fun chooseFinish(result: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>>

Finishes the method@Gtk.AlertDialog.choose call and returns the index of the button that was clicked.

Return

the index of the button that was clicked, or -1 if the dialog was cancelled and property@Gtk.AlertDialog:cancel-button is not set

Since

4.10

Parameters

result

a GAsyncResult