Re: glib SignalTimeout



On Fri, 2005-06-17 at 10:33 -0400, Jeff Simpson wrote:
> Can anyone tell me if this doc and example on Glib::SignalTimout is
> still valid for the new versions (sigc 2.0 as opposed to 1.2)? It's
> listed as having been written in 2001, so I have my doubts.
> 
> Here's the link:
> http://www.gtkmm.org/gtkmm2/docs/reference/html/classGlib_1_1SignalTimeout.html#a0

The first code snippet still works
( Glib::signal_timeout().connect(SigC::slot(&timeout_handler), 1000); ),
I use that all the time. I don't know about the second one, I've never
tried that.

-- 
Lars Luthman
PGP key:     http://www.d.kth.se/~d00-llu/pgp_key.php
Fingerprint: FCA7 C790 19B9 322D EB7A  E1B3 4371 4650 04C7 7E2E

Attachment: signature.asc
Description: This is a digitally signed message part



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