[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] MacOS X programmer for scrap module needed



Hi,

we need a volunteer with a MacOS X system, who can fix up the scrap
module for this platform. There is already an existing version under
lib/mac_scrap.py, but it does not fit the new requirements for arbitrary
data anymore and needs to be updated.

The scrap module supports on X11 and Win32:

* registering of own data types
* placing arbitrary data into the clipboard using string buffer
  sequences
* automatic type mapping for certain OS specific types such as binding
  "audio/wav" to CF_WAVE on Win32 or "image/ppm" to XA_BITMAP on X11
  platforms.
* querying the currently available type(s) of data in the clipboard
* checking for the clipboard application focus (does pygame own the
  content or not?)

You would have to bring up lib/mac_scrap.py up to date (or reimplement
it in C, if that suits you better) to match the new and changed
interfaces.

The src/scrap.doc file contains some more details regarding the scrap
behaviour for own types. Additionally the files src/scrap.c,
src/scrap_win.c and src/scrap_x11.c contain some internal implementation
details for the own type behaviour.

You also can ask me directly for the behaviour details of pygame.scrap,
if you are getting lost with what I wrote ;-).

Thanks
Marcus

Attachment: pgpsBPZpHRHCc.pgp
Description: PGP signature