Re: Which signal should I catch?



Dnia 12-09-2004, nie o godzinie 15:29 +0800, Chen Gang napisał:
Hi.

I'm learning Gtk application programming.  I want to write an application
from the example shipped with gtk, "scribble-simple".  I found the
backing pixmap of the drawing area widget would never be destroyed, so I
want to destroy it whenever the X window of the drawing area widget is
changed or destroyed.  Then which signal should I catch?  That is, which
signal will be emitted when the X window of a widget is changed or
destroyed?

GtkWidget::destroy-event is the signal you're interested with.

BTW, I found little knowledge of the meaning of each Gtk signals in the
Gtk Reference Manual.

That's true, some parts of reference manual still remain unfilled. Any
contribution to changing that is of course much appreciated :)

Cheers,
Maciej

-- 
"Tautologizm to coś tautologicznego"
   Maciej Katafiasz <mnews2 wp pl>
       http://mathrick.blog.pl




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