[SDL] Cut and Paste in SDL

Patrice Mandin mandin.patrice at wanadoo.fr
Tue Jan 9 13:32:25 PST 2007


Le Tue, 09 Jan 2007 15:39:02 -0500
"Ryan C. Gordon" <icculus at icculus.org> a écrit:

> > Is it possible to use cut and paste to paste text into an SDL application
> > and have the characters seen in the event handler somehow so they can be
> > processed?
> 
> There's no clipboard support in SDL 1.2. You'll have to talk to the 
> platform's APIs for that.
> 
> (Are we changing that for 1.3?)

At last, it's already requested in bugzilla:
http://bugzilla.libsdl.org/show_bug.cgi?id=24

Some computer emulators using SDL could also take advantage of this.

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux




More information about the SDL mailing list