GimpSizeEntry Widget for entering pixel values and resolutions. This widget is used to enter pixel distances/sizes and resolutions. You can specify the number of fields the widget should provide. For each field automatic mappings are performed between the field's "reference value" and it's "value". There is a #GimpUnitMenu right of the entry fields which lets you specify the #GimpUnit of the displayed values. For each field, there can be one or two #GtkSpinButton's to enter "value" and "reference value". If you specify @show_refval as #FALSE in gimp_size_entry_new() there will be only one #GtkSpinButton and the #GimpUnitMenu will contain an item for selecting GIMP_UNIT_PIXEL. The "reference value" is either of GIMP_UNIT_PIXEL or dpi, depending on which #GimpSizeEntryUpdatePolicy you specify in gimp_size_entry_new(). The "value" is either the size in pixels mapped to the size in a real-world-unit (see #GimpUnit) or the dpi value mapped to pixels per real-world-unit. #GimpUnit #GimpUnitMenu gimp_coordinates_new() @number_of_fields: @unit: @unit_format: @menu_show_pixels: @menu_show_percent: @show_refval: @spinbutton_usize: @update_policy: @Returns: @gse: @value_spinbutton: @refval_spinbutton: @gse: @text: @row: @column: @alignment: @gse: @field: @resolution: @keep_size: @gse: @field: @lower: @upper: @gse: @field: @lower: @upper: @gse: @field: @Returns: @gse: @field: @value: @gse: @field: @lower: @upper: @gse: @field: @digits: @gse: @field: @Returns: @gse: @field: @refval: @gse: @Returns: @gse: @unit: @gse: @gimpsizeentry: the object which received the signal. @gimpsizeentry: the object which received the signal. @gimpsizeentry: the object which received the signal.