Re: Window destroy event
- From: Murray Cumming <murrayc murrayc com>
- To: Fabio Rafael da Rosa <fabiorafael rosa gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Window destroy event
- Date: Mon, 24 Nov 2008 11:55:17 +0100
On Mon, 2008-11-24 at 08:41 -0200, Fabio Rafael da Rosa wrote:
> Got it. So, gtkmm does not expose the destroy signal , right.
Right.
> I used to use destroy signal for handling close events,
That's common in C, but it's not a good idea. You should handle
delete_event by handling delete_event.
> and started
> learning gtkmm some days ago. Hide or delete_event can do de job, so,
> thanks, I asked because I was curious. Is there a reason for not
> exposing it
It leads to confusion and bad program design. By not allowing you to use
it we have helped you to avoid that.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]