Re: Window destroy event



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]