# IToolTipService

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

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

```rust
trait IToolTipService
```

Shows and hides the tooltips of controls as the pointer moves (unstable,
private API; internal upstream).

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

## Members

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

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

### update

```rust
fn update(self: &Self, root: &Rc<dyn IInputRoot>, candidate_tool_tip_host: Option<Ref<Visual>>)
```

Updates the control whose tooltip is shown: `candidate_tool_tip_host`
is the visual under the pointer in `root`, if any.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/i_tool_tip_service.rs#L11)

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

### as_tool_tip_service

```rust
fn as_tool_tip_service(self: &Self) -> Option<&ToolTipService>
```

The service as the default tooltip service, if it is one.

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

## Trait implementations

- [`IToolTipService`](/docs/0.5.0/api/ferroui-controls/trait-itooltipservice/)

## Availability

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