Re: Redundant GtkWindow destroy_event signal?



On Fri, 2001-11-02 at 20:42, Owen Taylor wrote:
> 
> murrayc t-online de (Murray Cumming) writes:
> 
> > The "destroy_event" signal in GtkWindow doesn't seem to be used or
> > emitted anywhere. Shouldn't it be removed, or at least deprecated.
> > 
> > It's continuing existence is just confusing. I just had a conversation
> > about GtkObject's "destroy" signal and GtkWindow's "delete_event" signal
> > that was lasted much longer than usual because of the distraction of
> > GtkWindow's "destroy_event" signal.
> 
> It's emitted. Like all _event signals it corresponds to a
> GDK event type and is emitted from gtk_widget_event().

Oh, right. I should have seen that.

> This event occurs if a toplevel window is destroyed unexpectedly --
> this can happen for embedded toplevels using plug/socket or similar
> techniques.

Well that was going to be my next question. Thanks.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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