FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IPopupPositioner

    trait · ferroui-controls · v0.5.0

    trait IPopupPositioner
    

    Positions a popup host.

    IPopupPositioner is an abstraction of the wayland xdg_positioner spec.

    The popup positioner implementation is determined by the platform implementation. A default managed implementation is provided in ManagedPopupPositioner for platforms on which popups can be arbitrarily positioned.

    View source

    Members

    update

    fn update(self: &Self, parameters: PopupPositionerParameters)
    

    Updates the position of the associated popup host according to the specified parameters.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.