singe/thirdparty/SDL3/examples/misc/02-clipboard
2026-09-03 22:01:35 -05:00
..
clipboard.c Migrated to SDL3. 2026-09-03 22:01:35 -05:00
onmouseover.webp Migrated to SDL3. 2026-09-03 22:01:35 -05:00
README.txt Migrated to SDL3. 2026-09-03 22:01:35 -05:00
thumbnail.png Migrated to SDL3. 2026-09-03 22:01:35 -05:00

This example code lets the user copy and paste with the system clipboard.

This only handles text, but SDL supports other data types, too.

Note that only Chrome-based browsers support this API currently. This uses a
new Javascript API, so hopefully this will be available everywhere soon!