IManagedPopupPositionerPopup
trait · ferroui-controls · v0.5.0
trait IManagedPopupPositionerPopup
The popup that a ManagedPopupPositioner positions.
Members
screens
fn screens(self: &Self) -> Vec<ManagedPopupPositionerScreenInfo>
The screens of the platform, in the positioner's coordinates.
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.
scaling
fn scaling(self: &Self) -> f64
The scaling between the positioning parameters and the positioner's coordinates.
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.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.