Re: [sigc] libsigc++ 2.0 timer callback?
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Jeff Simpson" <llcooljeff gmail com>
- Cc: libsigc-list gnome org, Ulrich Eckhardt <eckhardt satorlaser com>
- Subject: Re: [sigc] libsigc++ 2.0 timer callback?
- Date: Fri, 17 Jun 2005 18:31:06 +0200 (CEST)
>> > SigC::Connection timer > >
>> Glib::signal_timeout().connect(SigC::slot(
>> > *this, &winOscilloscope::timer_callback), 20);
>> >
>> I can't even find any of them there. Point is that SigC++ is _only_ the
>> slot/signal framework, the calling of signals is not part thereof. So,
>> just
>> as in your example, you rather need to look in glib than in SigC++.
>>
>
> Assuming that Glib didn't change any, and I can still use the same
> connect() function, how does libsigc++ differ from 1.2 to 2.0? (and
> how can I change that one line to reflect those changes).
>
> It seems that the slot function is a lot different, to say the least,
> and there seems to be mem_fun() and ptr_fun() functions that might be
> what I'm looking for, but I can't tell for sure, since all the
> documentation appears to be outdated (written for v1.2 and not updated
> for 2.0).
http://cvs.gnome.org/viewcvs/*checkout*/glibmm/CHANGES
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch17.html
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]