query_size_box


Description:

[ CCode ( cname = "gimp_query_size_box" ) ]
public Widget query_size_box (string title, Widget parent, HelpFunc help_func, string help_id, string message, double initial, double lower, double upper, int digits, Unit unit, double resolution, bool dot_for_dot, Object object, string @signal, owned QuerySizeCallback callback)

Creates a new Dialog that queries the user for a size using a SizeEntry.

Parameters:

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 SizeEntry provide in "pixel" mode.

unit

The unit initially shown by the GimpUnitMenu.

resolution

The resolution (in dpi) which will be used for pixel/unit calculations.

dot_for_dot

true if the GimpUnitMenu's initial unit should be "pixels".

object

The object this query box is associated with.

callback

The function which will be called when the user selects "OK".

data

The callback's user data.

data_destroy

Destroy function for data.

signal

The object's signal which will cause the query box to be closed.

Returns:

A pointer to the new Dialog.


Namespace: GimpUi
Package: gimp-ui-3.0