# GimpUi.coordinates_new

    @accepts(Gimp.Unit, unicode, bool, bool, int, GimpUi.SizeEntryUpdatePolicy, bool, bool, unicode, float, float, float, float, float, float, unicode, float, float, float, float, float, float)
    @returns(Gtk.Widget)
    def coordinates_new(unit, unit_format, menu_show_pixels, menu_show_percent, spinbutton_width, update_policy, chainbutton_active, chain_constrains_ratio, xlabel, x, xres, lower_boundary_x, upper_boundary_x, xsize_0, xsize_100, ylabel, y, yres, lower_boundary_y, upper_boundary_y, ysize_0, ysize_100):
        # Python wrapper for gimp_coordinates_new()

Convenience function that creates a GimpUi.SizeEntry with two fields for x/y coordinates/sizes with a GimpUi.ChainButton attached to constrain either the two fields' values or the ratio between them.

unit

  The initial unit of the #GimpUnitMenu.

unit_format

  A printf-like unit-format string as is used with gimp_unit_menu_new().

menu_show_pixels

  True if the #GimpUnitMenu should contain an item for GIMP_UNIT_PIXEL.

menu_show_percent

  True if the #GimpUnitMenu should contain an item for GIMP_UNIT_PERCENT.

spinbutton_width

  The horizontal size of the GimpUi.SizeEntry's Gtk.SpinButton's.

update_policy

  The update policy for the GimpUi.SizeEntry.

chainbutton_active

  True if the attached GimpUi.ChainButton should be active.

chain_constrains_ratio

  True if the chainbutton should constrain the fields' aspect ratio. If False, the values will be constrained.

xlabel

  The label for the X coordinate.

x

  The initial value of the X coordinate.

xres

  The horizontal resolution in DPI.

lower_boundary_x

  The lower boundary of the X coordinate.

upper_boundary_x

  The upper boundary of the X coordinate.

xsize_0

  The X value which will be treated as 0%.

xsize_100

  The X value which will be treated as 100%.

ylabel

  The label for the Y coordinate.

y

  The initial value of the Y coordinate.

yres

  The vertical resolution in DPI.

lower_boundary_y

  The lower boundary of the Y coordinate.

upper_boundary_y

  The upper boundary of the Y coordinate.

ysize_0

  The Y value which will be treated as 0%.

ysize_100

  The Y value which will be treated as 100%.

Returns