From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Vollmer To: Stephen Tell Cc: Guile-Gtk List Subject: Re: Converting GdkEvent from C to Guile Date: Fri, 19 Nov 1999 13:51:00 -0000 Message-id: <877ljef8ve.fsf@zagadka.ping.de> References: X-SW-Source: 1999-q4/msg00055.html Stephen Tell writes: > Just to make sure I understand Gdk's (undocumented) rules: when I get the > GdkEvent as an argument to a handler set with gtk_signal_connect(), > Gdk/Gtk is going to free the event when the handler returns. Yes, more or less. It just reuses the memory for the next event, in the normal case. > So if I let it escape to the guile-gtk world, I set COPYP to TRUE, > so guile frees its copy when it is done with it. Correct. - Marius