logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This struct is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                          SDL_ClipboardEvent(3type)

Header File

       Defined in SDL3/SDL_events.h

Name

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

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_ClipboardEvent{SDL_EventTypetype;/**<SDL_EVENT_CLIPBOARD_UPDATE*/Uint32reserved;Uint64timestamp;/**<Innanoseconds,populatedusingSDL_GetTicksNS()*/boolowner;/**<areweowningtheclipboard(internalupdate)*/Sint32num_mime_types;/**<numberofmimetypes*/constchar**mime_types;/**<currentmimetypes*/}SDL_ClipboardEvent;

See Also