RE: [gtkmm] Signal emission stop



> From: Andrew E. Makeev [mailto:andrew solvo ru] 
> > Am 2003.04.23 13:41 schrieb(en) Andrew E. Makeev:
> >
> >> Hi,
> >>
> >> Look at the simple example below, and explain, please, how could I 
> >> stop SigC signal emission?
> >
> >
> > For gtk(mm) signals the signal emission can be stopped by 
> returning true
> > (or was it false? => we have to look at the docs!) in the 
> signal handler. 
> 
> Yes, it should be true for <signal_..._event>, and 
> <signal>.emission_stop () for named GTK signals.

Maybe it's something that people would like to see in libsigc++ 2. Patches
are welcome.

Murray Cumming
murrayc usa net
www.murrayc.com 



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