# PropertyTransferEditor

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer/struct-propertytransfereditor/

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

```rust
struct PropertyTransferEditor
```

A native picker with fixed Apply/Cancel controls and an independently scrolling body.
Compatible authored values are selected initially; every skipped value is explained.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L26)

## Members

- [`new`](#function-new)
- [`control`](#function-control)
- [`selected_properties`](#function-selected_properties)
- [`select_property`](#function-select_property)
- [`on_apply`](#function-on_apply)
- [`on_close`](#function-on_close)
- [`apply`](#function-apply)
- [`show_error`](#function-show_error)
- [`cancel`](#function-cancel)
- [`retire`](#function-retire)

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

### new

```rust
fn new(clipboard: &PropertyClipboard, preview: &PropertyPastePreview, writable: bool) -> Rc<Self>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L39)

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

### control

```rust
fn control(self: &Self) -> Ref<Control>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L223)

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

### selected_properties

```rust
fn selected_properties(self: &Self) -> Vec<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L226)

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

### select_property

```rust
fn select_property(self: &Self, name: &str, selected: bool) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L233)

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

### on_apply

```rust
fn on_apply(self: &Self, callback: impl Fn(Vec<String>) -> Result<(), String> + 'static)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L248)

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

### on_close

```rust
fn on_close(self: &Self, callback: impl Fn() -> () + 'static)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L251)

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

### apply

```rust
fn apply(self: &Self) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L254)

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

### show_error

```rust
fn show_error(self: &Self, message: &str)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L279)

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

### cancel

```rust
fn cancel(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L282)

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

### retire

```rust
fn retire(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_transfer_editor.rs#L289)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Same`

## Availability

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