Re: [gtk-list] Re: CCWrapper test applet
- From: Mikael Hermansson <mikeh bahnhof se>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: CCWrapper test applet
- Date: Thu, 7 Jan 1999 10:04:21 +0100 (CET)
On Wed, 6 Jan 1999, Havoc Pennington wrote:
> gint delete_event_cb(GtkWidget* w, GdkEventAny* event, gpointer data)
> {
>
>
> }
>
> You're calling your method on the event rather than your data. You also
> need to return TRUE or FALSE, TRUE means you "handled" the event and Gtk
> should not destroy the window, FALSE means Gtk will destroy the window.
>
Thanks for the help looks like it works now.
But I must change this in my old applications to because they have wrong
declarations to, but they works and gives no sigsegv on exit..?
Greats
MikeH
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]