---
name: "SDL_UpdateTrays"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_UpdateTrays"
---

# SDL\_UpdateTrays(3)

Update the trays.

## NAME

SDL\_UpdateTrays - Update the trays.

## HEADER FILE

Defined in SDL3/SDL\_tray.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_UpdateTrays(void);**

## DESCRIPTION

This is called automatically by the event loop and is only needed if you're using trays but aren't handling SDL events.

## THREAD SAFETY

This function should only be called on the main thread.

## AVAILABILITY

This function is available since SDL 3.2.0.
