Popover.setPosition

Sets the preferred position for popover to appear.

If the popover is currently visible, it will be immediately updated.

This preference will be respected where possible, although on lack of space (eg. if close to the window edges), the gtk.popover.Popover may choose to appear on the opposite side.

class Popover
void
setPosition

Parameters

position gtk.types.PositionType

preferred popover position