Re: [gtk-list] Re: Apprarently simple signal/event question
- From: "Peter Wright" <dafrog dapad co uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Apprarently simple signal/event question
- Date: Sun, 12 Dec 1999 23:07:06 +0000
Thanks for the reply, and to the stuff Pete Garner added. Apologies for the
gpointer * problems over and over, I was typing the message in something of
a hurry on a completely different machine from the one I normally use.
So, if I have this right, using
gint signalblahblah( GtkWidget *, gpointer )
to handle the delete_event event works, as in compiles and runs, but it's
completely unwise to presume that the same would always be the case. What I
mean is that there is a chance with other events that using this type of
event handler would cause a problem in terms of memory corruption, a crash
etc etc ?
Also, what about what Peter Garner said - does GTK_SIGNAL_FUNC( ), really
cast both the signal type callback and the event type callback to the same
thing ?
Thanks again for your help,
Pete
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]