GimpUi.query_boolean_box
function query_boolean_box(title: String, parent: Gtk.Widget, help_func: GimpUi.HelpFunc, help_id: String, icon_name: String, message: String, true_button: String, false_button: String, object: GObject.Object, signal: String, callback: GimpUi.QueryBooleanCallback): Gtk.Widget {
// Gjs wrapper for gimp_query_boolean_box()
}
Creates a new Gtk.Dialog that asks the user to do a boolean decision.
- title
The query box dialog's title.
- parent
The dialog's parent widget.
- help_func
The help function to show this dialog's help page.
- help_id
A string identifying this dialog's help page.
- icon_name
An icon name to specify an icon to appear on the left on the dialog's message.
- message
A string which will be shown in the query box.
- true_button
The string to be shown in the dialog's left button.
- false_button
The string to be shown in the dialog's right button.
- object
The object this query box is associated with.
- signal
The object's signal which will cause the query box to be closed.
- callback
The function which will be called when the user clicks one of the buttons.
- Returns
A pointer to the new Gtk.Dialog.