Package: gtk

Function gtk:alert-dialog-choose

Lambda List

gtk:alert-dialog-choose (dialog parent cancellable func)

Arguments

dialog -- a gtk:alert-dialog object
parent -- a parent gtk:window widget
cancellable -- a g:cancellable object to cancel the operation
func -- a g:async-ready-callback callback function to call when the operation is complete

Details

This function shows the alert dialog to the user. The callback will be called when the alert dialog is dismissed. It should call the gtk:alert-dialog-choose-finish function to obtain the result.

It is ok to pass nil for the callback if the alert dialog does not have more than one button. A simpler API for this case is the gtk:alert-dialog-show function.

Since 4.10
 

See also

2023-9-20