# FocusOrderEditor

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

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

```rust
struct FocusOrderEditor
```

A staged editor for group-local order, tab eligibility, modes and Label.Target.
Every command is submitted together on Apply; Cancel discards the complete draft.

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

## Members

- [`new`](#function-new)
- [`control`](#function-control)
- [`on_apply`](#function-on_apply)
- [`on_close`](#function-on_close)
- [`configure`](#function-configure)
- [`show_error`](#function-show_error)
- [`retire`](#function-retire)
- [`draft`](#function-draft)

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

### new

```rust
fn new() -> Rc<Self>
```



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

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

### control

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



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

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

### on_apply

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



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

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

### on_close

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



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

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

### configure

```rust
fn configure(self: &Self, catalog: FocusOrderCatalog, writable: bool)
```



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

<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/focus_order_editor.rs#L376)

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

### retire

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

Retire callbacks when a host light-dismisses or replaces this editor.

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

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

### draft

```rust
fn draft(self: &Self) -> Vec<FocusOrderEdit>
```



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

## 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/).
