Re: Catching "destroy" signals



On Sun, 16 Nov 2003, Ian Bell wrote:

If you want to do clean up actions you should not wait until 'destroy'
occurs. Instead you should connect a handleer to the delete event.

I totally agree. The problem is that I'm unable to delete a window from
the outside as there is no gtk_window_delete() or gtk_widget_delete()
function. The only way to ever get a "delete_event" is when I close the
window from the window manager.

See the gtk docs for more details

I've pored over them for days now. I've also tried to somehow "send" a
"delete"  event to the window in question, but apart from the fact that
the docs are full of "don't do this!" warnings on this subject, I also
didn't get it to work.

--Daniel




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