Re: [gtk-list] Re: CCWrapper test applet

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..?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]