set_position


Description:

public void set_position (PositionType position)

Sets the preferred position for this to appear.

If the this 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 `GtkPopover` may choose to appear on the opposite side.

Parameters:

this

a `GtkPopover`

position

preferred popover position




2022 vala-language.org