FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IManagedPopupPositionerPopup

    trait · ferroui-controls · v0.5.0

    trait IManagedPopupPositionerPopup
    

    The popup that a ManagedPopupPositioner positions.

    View source

    Members

    screens

    fn screens(self: &Self) -> Vec<ManagedPopupPositionerScreenInfo>
    

    The screens of the platform, in the positioner's coordinates.

    Source

    parent_client_area_screen_geometry

    fn parent_client_area_screen_geometry(self: &Self) -> Rect
    

    The client area of the popup's parent, in screen coordinates.

    Source

    scaling

    fn scaling(self: &Self) -> f64
    

    The scaling between the positioning parameters and the positioner's coordinates.

    Source

    move_and_resize

    fn move_and_resize(self: &Self, device_point: Point, virtual_size: Size)
    

    Moves the popup to device_point and resizes it to virtual_size.

    Source

    Trait implementations

    Availability

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