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

# SDL\_ClipboardEvent(3type)

An event triggered when the clipboard contents have changed (event.clipboard.\*)

## NAME

SDL\_ClipboardEvent - An event triggered when the clipboard contents have changed (event.clipboard.\*)

## HEADER FILE

Defined in SDL3/SDL\_events.h

## SYNOPSIS

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

**typedef struct SDL\_ClipboardEvent** **{**     **SDL\_EventType type; /\*\*\< SDL\_EVENT\_CLIPBOARD\_UPDATE \*/**     **Uint32 reserved;**     **Uint64 timestamp;   /\*\*\< In nanoseconds, populated using SDL\_GetTicksNS() \*/**     **bool owner;         /\*\*\< are we owning the clipboard (internal update) \*/**     **Sint32 num\_mime\_types;   /\*\*\< number of mime types \*/**     **const char \*\*mime\_types; /\*\*\< current mime types \*/** **} SDL\_ClipboardEvent;**

## AVAILABILITY

This struct is available since SDL 3.2.0.
