SDL 3.0
SDL_ClipboardEvent Struct Reference

An event triggered when the applications active clipboard content is cancelled by new clipboard content. More...

#include <SDL_events.h>

Data Fields

Uint32 type
 
Uint64 timestamp
 
void * userdata
 

Detailed Description

An event triggered when the applications active clipboard content is cancelled by new clipboard content.

Note
Primary use for this event is to free any userdata you may have provided when setting the clipboard data.
See also
SDL_SetClipboardData

Definition at line 541 of file SDL_events.h.

Field Documentation

◆ timestamp

Uint64 SDL_ClipboardEvent::timestamp

In nanoseconds, populated using SDL_GetTicksNS()

Definition at line 544 of file SDL_events.h.

◆ type

Uint32 SDL_ClipboardEvent::type

◆ userdata

void* SDL_ClipboardEvent::userdata

User data if any has been set. NULL for SDL_EVENT_CLIPBOARD_UPDATE

Definition at line 545 of file SDL_events.h.


The documentation for this struct was generated from the following file: