GimpUi.Preview.get_position

@accepts(GimpUi.Preview, int, int)
@returns(none)
def get_position(self, x, y):
    # Python wrapper for gimp_preview_get_position()
  

Since 2.2

self

a GimpUi.Preview widget

x

return location for the horizontal offset

y

return location for the vertical offset