The anchor object is the reference object for positioning a Popup using the Efl.Ui.Popup.align and Efl.Ui.Popup.align_priority properties.
A Popup will recalculate its alignment relative to its anchor and change its position when: - the anchor object is moved (unless the anchor is a window) - the anchor object is resized - the Popup is resized - the parent window is resized
If Efl.Ui.Popup.anchor.get returns NULL
, the anchor is the parent window of the Popup. If the anchor object is set to NULL
, the Popup will no longer recalculate its alignment or change its position under any circumstance. If the Popup is moved by using Efl.Gfx.Entity.position.set, anchor
is set NULL
.
Since 1.23
NULL
.@property anchor { get {} set {} values { anchor: Efl.Canvas.Object; } }
Efl_Canvas_Object *efl_ui_popup_anchor_get(const Eo *obj); void efl_ui_popup_anchor_set(Eo *obj, Efl_Canvas_Object *anchor);