AlertDialog
A GtkAlertDialog
object collects the arguments that are needed to present a message to the user.
The message is shown with the method@Gtk.AlertDialog.choose function.
If you don't need to wait for a button to be clicked, you can use method@Gtk.AlertDialog.show.
Skipped during bindings generation
method
buttons
: Property TypeInfo of getter and setter do not matchconstructor
new
: Varargs parameter is not supported
Since
4.10
Constructors
Properties
Functions
Link copied to clipboard
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.
Link copied to clipboard
Returns the button labels for the alert.
Link copied to clipboard
Sets the button labels for the alert.