Re: forwarding a signal



On Wed, 2 Aug 2006 12:37:18 +0200 (CEST)
"Murray Cumming" <murrayc murrayc com> wrote:

> I do this by defining a new signal and then emitting that signal, in
> response to the first signal.
> 
> I would like some generic signal delegation/forward technique, for use
> with a deep parent-child hierarchy of widgets, but I haven't thought of
> one yet.

How can I do that ?

I tried to add a

public: 
	Glib::SignalProxy0<void> signal_value_changed(void);
to my class an a:

protected:
 	virtual void on_signal_changed(void);

But I do not know how to implement all this.

Fred



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