Re: Redundant GtkWindow destroy_event signal?



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().

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

Regards,
                                        Owen



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