2011/11/3 Alex Queiroz asandroq@gmail.com:
On Thu, Nov 3, 2011 at 1:58 PM, Vok Vojwo ceving@gmail.com wrote:
Gtk provides some infrastructure for callbacks called marshaller. Would it be possible to use that to write a gtk-lambda similar to c-define, which can be used to create callbacks for Gtk but without the limitations of c-define?
The GObject library certainly support dynamic, non-C callbacks:
http://developer.gnome.org/gobject/2.30/chapter-signal.html#id500726
Yes but this requires some knowledge about the things c-define does to export a Scheme function to C. Is this documented anywhere? I know a bit about C and Scheme but I am a Gambit noob. ;-)