Re: Connecting external signal handlers to a encapsulated TreeSelection

Murray Cumming wrote:
On Fri, 2005-04-15 at 21:11 +0200, Matthias Kaeppler wrote:

PS: Why do all the signal_xyz function return the SignalProxy objects by value? Wouldn't I call connect on a temporary then?

Glib::SignalProxy0<void> 	signal_changed ()

No reference returned, but a copy.

They refer to the same underlying signal, kind of like a smart pointer.

That explains a lot :) Thanks.

Matthias Kaeppler

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