Re: delete event for contained widget does not work

Thank you very much. That worked.

On 10/2/05, Daniel Pekelharing <legendstar gmail com> wrote:

I notice that you're connecting the entry with "destroy_event",
I think you're wanting the "destroy" signal...

Hope this helps

- Daniel

On Sun, 2005-10-02 at 11:39 +0530, Deekshit Mantampady wrote:
Hi all,
   I have an entry in  window with containment as
   window > vbox > hbox >entry. (Code pasted below).
  I registered for window delete_event, I call destroy on window, in
the callback. I was expecting it to destroy the etry also. In that
case destroy/delete event callback for entry should be called. But it
does not happen.
  In my real application, I need to free up memory allocated for a
data structure(application specific) associated with the entry. I
cannot do it when window is deleted.

Is there any way to catch, the event when the entry or any such widget
is deleted ?

Please help me.

Daniel Pekelharing
<legendstar gmail com>

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