# IPopupPositioner

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/primitives/popup_positioning/trait-ipopuppositioner/

**trait** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

```rust
trait IPopupPositioner
```

Positions a popup host.

[`IPopupPositioner`](/docs/0.5.0/api/ferroui-controls/primitives/popup_positioning/trait-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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/popup_positioning/i_popup_positioner.rs#L377)

## Members

- [`update`](#function-update)

<a id="function-update"></a>

### update

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

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

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/popup_positioning/i_popup_positioner.rs#L380)

## Trait implementations

- [`IPopupPositioner`](/docs/0.5.0/api/ferroui-controls/primitives/popup_positioning/trait-ipopuppositioner/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
