Efl.Ui.Popup.anchor

Description

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

Values

  • anchor - The object which Popup is following. By default this is NULL.

Signature

@property anchor {
    get {}
    set {}
    values {
        anchor: Efl.Canvas.Object;
    }
}

C signature

Implemented by