From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Tell To: Guile-Gtk List Subject: Converting GdkEvent from C to Guile Date: Thu, 18 Nov 1999 13:05:00 -0000 Message-id: References: X-SW-Source: 1999-q4/msg00052.html In guile-gtk 0.17, how do I convert a pointer to a GdkEvent (or GdkEventButton) to an SCM so it can be passed to a guile callback? With a little rummaging around in the source, I found sgtk_wrap_gtkobj() which does the appropriate magic for Gtk objects, but (perhaps not too surprisingly) it coredumps when passed a (GdkEventButton *). There must be an appropriate function in there someplace. Thanks, Steve -- Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF Research Associate, Microelectronic Systems Laboratory Computer Science Department, UNC@Chapel Hill. W:919-962-1845