Popover.setConstrainTo

void setConstrainTo(gtk.types.PopoverConstraint constraint)

Sets a constraint for positioning this popover.

Note that not all platforms support placing popovers freely, and may already impose constraints.

Parameters

constraintthe new constraint