Re: Capture GdkWindow event



åå escribiÃ:
Hi,

I want to capture a GdkWindow's destory event. And I have tried
'g_signal_connect' function, but failed.
Can someone refer me to an example?

thanks,

What's the matther following this example?
Is the doc exampl, i used it last time...

g_signal_connect(G_OBJECT (window), "destroy", G_CALLBACK (destroy), NULL);

static void destroy (GtkWidget *widget, gpointer data)
{
   gtk_main_quit();
}

May be you have to explain us any more,
anyway the asiatic keys in your signature are lovely
;)



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