[plt-scheme] X Bindings for PLT Scheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Apr 18 11:04:24 EDT 2005

At Sun, 17 Apr 2005 19:21:51 +0100 (WEST), "Paulo Jorge de Oliveira Cantante de Matos" wrote:
> If there are no X Bindings I do ask myself if it would not be
> possible to use a wxwindows Display (which I don't know if it
> exists) since PLT Scheme is based on it.

In MrEd, you can use the FFI to get MrEd's global Display pointer,
which is in the `wxAPP_DISPLAY' C global:

 (require (lib "foreign.ss"))
 (unsafe!)
 (get-ffi-obj "wxAPP_DISPLAY" #f _pointer)


Matthew



Posted on the users mailing list.