We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 24 - clipboard access...
Summary: clipboard access...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.0
Hardware: All All
: P2 API change
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 12:21 UTC by Ryan C. Gordon
Modified: 2010-07-12 21:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan C. Gordon 2006-01-03 12:21:48 UTC
This is a stub bug entry to request an API for reading/writing the clipboard.

--ryan.
Comment 1 Ryan C. Gordon 2006-01-05 02:33:46 UTC
(Changed severity to "API change" for a bunch of bugs.)

--ryan.

Comment 2 Sam Lantinga 2006-01-24 00:45:10 UTC
There's an example of this with the existing API here:
http://www.libsdl.org/projects/scrap/
Comment 3 Ryan C. Gordon 2006-01-27 11:23:05 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 4 Max Horn 2006-03-22 13:31:15 UTC
Interesting. I have dreamt about such a thing several times in the past. It would in fact be interesting outside of SDL, too. At least being able to copy/paste plain text would be nice. Under Windows, Mac OS X, X11, and possibly with a "default" implementation that uses an internal clipboard, so that on unsupported systems, client code can still do at least local copy&paste.
Comment 5 Sam Lantinga 2009-12-14 21:43:11 UTC
We actually have this in progress with some sample code from Eric Wing and Pygame.
Comment 6 Sam Lantinga 2010-07-12 21:26:03 UTC
This is implemented in the latest SDL 1.3 snapshot. :)