# `GSFont withInterfaceUpdatesDisabled(_:)`

*Instance Method*

Performs work while deferring interface updates and change notifications.

## Declaration

```swift
func withInterfaceUpdatesDisabled<E, T>(_ body: () throws(E) -> T) throws(E) -> T where E : Error
```

## Parameters

- `body` — The work to perform.

## Return Value

The value returned by the body.

## Discussion

Deferred updates are processed when the body returns or throws. Updates remain disabled when they were already disabled on entry.

## See Also

### Interface Updates

- [`GSFont disableUpdateInterface`](/Core/GlyphsCore/GSFont/disableUpdateInterface) — Defers interface updates and change notifications.
- [`GSFont stopUpdateInterface`](/Core/GlyphsCore/GSFont/stopUpdateInterface) — Suppresses interface updates and change notifications.
- [`GSFont withInterfaceUpdatesStopped(_:)`](/Core/GlyphsCore/GSFont/withInterfaceUpdatesStopped(_:)) — Performs work while suppressing interface updates and change notifications.
- [`GSFont enableUpdateInterface`](/Core/GlyphsCore/GSFont/enableUpdateInterface) — Processes deferred interface updates and resumes normal update behavior.
- [`GSFont enableFutureUpdates`](/Core/GlyphsCore/GSFont/enableFutureUpdates) — Resumes normal update behavior without reporting changes made while updates were disabled.
- [`GSFont isUpdateInterfaceEnabled`](/Core/GlyphsCore/GSFont/isUpdateInterfaceEnabled) — Returns whether interface updates and change notifications are enabled.

