PopupLayout.setAnchorHints
void setAnchorHints(gdk.types.AnchorHints anchorHints)Set new anchor hints.
The set anchor_hints determines how surface will be moved if the anchor points cause it to move off-screen. For example, [gdk.types.AnchorHints.FlipX] will replace [gdk.types.Gravity.NorthWest] with [gdk.types.Gravity.NorthEast] and vice versa if surface extends beyond the left or right edges of the monitor.
Parameters
anchorHints | the new [gdk.types.AnchorHints] |