Re: Window destroy event



I think that it would be good if you could clarify this somewhere in the
documentation. For someone comming for different bindings, that's a
little bit confusing (I got your point and I agree with you. Java
bindings does not expose destroy signal too) .
Em Seg, 2008-11-24 às 11:55 +0100, Murray Cumming escreveu:
> 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.
> 




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