Re: delete event for contained widget does not work
- From: Daniel Pekelharing <legendstar gmail com>
- To: Deekshit Mantampady <dmantamp gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: delete event for contained widget does not work
- Date: Sun, 02 Oct 2005 08:33:11 +0200
Hi,
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]