# IInputPane

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/platform/trait-iinputpane/

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

```rust
trait IInputPane
```

Listener for the platform's input pane (e.g. software keyboard). Provides
access to the input pane height and state.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/i_input_pane.rs#L12)

## Members

- [`state`](#function-state)
- [`occluded_rect`](#function-occluded_rect)
- [`state_changed`](#function-state_changed)

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

### state

```rust
fn state(self: &Self) -> InputPaneState
```

The current input pane state.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/i_input_pane.rs#L14)

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

### occluded_rect

```rust
fn occluded_rect(self: &Self) -> Rect
```

The current input pane bounds.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/i_input_pane.rs#L17)

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

### state_changed

```rust
fn state_changed(self: &Self, handler: Rc<dyn Fn(&InputPaneStateEventArgs) -> ()>) -> Rc<dyn IDisposable>
```

Occurs when the input pane's state has changed.

Disposing the returned value removes the handler.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/i_input_pane.rs#L22)

## Trait implementations

- [`IInputPane`](/docs/0.5.0/api/ferroui-controls/platform/trait-iinputpane/)

## Availability

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