GimpUi.query_double_box

function query_double_box(title: String, parent: Gtk.Widget, help_func: GimpUi.HelpFunc, help_id: String, message: String, initial: Number(gdouble), lower: Number(gdouble), upper: Number(gdouble), digits: Number(gint), object: GObject.Object, signal: String, callback: GimpUi.QueryDoubleCallback): Gtk.Widget {
    // Gjs wrapper for gimp_query_double_box()
}
  

Creates a new Gtk.Dialog that queries the user for a double value.

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.

message

A string which will be shown above the dialog's entry widget.

initial

The initial value.

lower

The lower boundary of the range of possible values.

upper

The upper boundray of the range of possible values.

digits

The number of decimal digits the Gtk.SpinButton will provide.

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 selects "OK".

Returns

A pointer to the new Gtk.Dialog.