Re: delete event for contained widget does not work
- From: Deekshit Mantampady <dmantamp gmail com>
- To: Daniel Pekelharing <legendstar gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: delete event for contained widget does not work
- Date: Sun, 2 Oct 2005 13:10:38 +0530
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
On Sun, 2005-10-02 at 11:39 +0530, Deekshit Mantampady wrote:
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.
<legendstar gmail com>
] [Thread Prev