# HotKeyConfiguration

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-diagnostics/diagnostics/struct-hotkeyconfiguration/

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

```rust
struct HotKeyConfiguration
```

The key gestures that activate the features of DevTools.

A class upstream whose members are set once, when it is created (`init`): the members are
read with `foo()` and given with the chaining `with_foo(v)` while the configuration is built.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L12)

## Members

- [`new`](#function-new)
- [`value_frames_freeze`](#function-value_frames_freeze)
- [`with_value_frames_freeze`](#function-with_value_frames_freeze)
- [`value_frames_unfreeze`](#function-value_frames_unfreeze)
- [`with_value_frames_unfreeze`](#function-with_value_frames_unfreeze)
- [`inspect_hovered_control`](#function-inspect_hovered_control)
- [`with_inspect_hovered_control`](#function-with_inspect_hovered_control)
- [`toggle_popup_freeze`](#function-toggle_popup_freeze)
- [`with_toggle_popup_freeze`](#function-with_toggle_popup_freeze)
- [`screenshot_selected_control`](#function-screenshot_selected_control)
- [`with_screenshot_selected_control`](#function-with_screenshot_selected_control)

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

### new

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

C# `new HotKeyConfiguration()`: the default gestures.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L43)

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

### value_frames_freeze

```rust
fn value_frames_freeze(self: &Self) -> KeyGesture
```

Freezes refreshing the Value Frames inspector for the selected Control

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L48)

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

### with_value_frames_freeze

```rust
fn with_value_frames_freeze(self: Rc<Self>, value: KeyGesture) -> Rc<Self>
```

Initializes `value_frames_freeze`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L53)

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

### value_frames_unfreeze

```rust
fn value_frames_unfreeze(self: &Self) -> KeyGesture
```

Resumes refreshing the Value Frames inspector for the selected Control

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L59)

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

### with_value_frames_unfreeze

```rust
fn with_value_frames_unfreeze(self: Rc<Self>, value: KeyGesture) -> Rc<Self>
```

Initializes `value_frames_unfreeze`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L64)

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

### inspect_hovered_control

```rust
fn inspect_hovered_control(self: &Self) -> KeyGesture
```

Inspects the hovered Control in the Logical or Visual Tree Page

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L70)

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

### with_inspect_hovered_control

```rust
fn with_inspect_hovered_control(self: Rc<Self>, value: KeyGesture) -> Rc<Self>
```

Initializes `inspect_hovered_control`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L75)

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

### toggle_popup_freeze

```rust
fn toggle_popup_freeze(self: &Self) -> KeyGesture
```

Toggles the freezing of Popups which prevents visible Popups from closing so they can be inspected

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L81)

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

### with_toggle_popup_freeze

```rust
fn with_toggle_popup_freeze(self: Rc<Self>, value: KeyGesture) -> Rc<Self>
```

Initializes `toggle_popup_freeze`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L86)

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

### screenshot_selected_control

```rust
fn screenshot_selected_control(self: &Self) -> KeyGesture
```

Saves a Screenshot of the Selected Control in the Logical or Visual Tree Page

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L92)

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

### with_screenshot_selected_control

```rust
fn with_screenshot_selected_control(self: Rc<Self>, value: KeyGesture) -> Rc<Self>
```

Initializes `screenshot_selected_control`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/hot_key_configuration.rs#L97)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- `Debug`
- `PartialEq`
- `Default`

## Availability

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