Package: gtk

Function gtk:alert-dialog-choose-finish

Lambda List

gtk:alert-dialog-choose-finish (dialog result)

Arguments

dialog -- a gtk:alert-dialog object
result -- a g:async-result object with the result

Return Value

The integer with the index of the button that was clicked, -1 if the alert dialog was cancelled and the cancel-button property is not set.

Details

Finishes the the gtk:alert-dialog-choose function call and returns the index of the button that was clicked.

Since 4.10
 

See also

2024-11-21