Popover.setOffset

void setOffset(int xOffset, int yOffset)

Sets the offset to use when calculating the position of the popover.

These values are used when preparing the [gdk.popup_layout.PopupLayout] for positioning the popover.

Parameters

xOffsetthe x offset to adjust the position by
yOffsetthe y offset to adjust the position by