beaver-devel
[Top][All Lists]
Advanced

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

Re: [Beaver-devel] "delete_event" and "destroy" signals


From: Tobias Heinzen
Subject: Re: [Beaver-devel] "delete_event" and "destroy" signals
Date: Sun, 22 Jun 2008 15:36:03 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

Double 12 wrote:
Setting the window to modal is much better than the blabla_window_is_visible variable. It works fine! I'm now applying this to other windows (the base converter and the file properties window). But I'm curious, they are using two signals: both "destroy" and "delete_event". When I only use "delete_event" it also works fine, so do need to keep the "destroy" signal?
Those signals are very bad documented, or at least that's what I'm thinking. What I found out is the following: the delete_event signal is triggered when you choose to destroy a window (by clicking on the x or when you call gtk_widget_destroy from somewhere else on this object). the "destroy" signal is emitted when the "delete_event" signal handler returns false or when I use xkill to kill that window.

I would say that we register both signals just to be sure.

greets
Tobias




reply via email to

[Prev in Thread] Current Thread [Next in Thread]