Re: Q: How do I enable/disable a timed callback during runtime?
- From: Armin Burgmeier <armin arbur net>
- To: gtkmm-list gnome org
- Subject: Re: Q: How do I enable/disable a timed callback during runtime?
- Date: Thu, 29 Sep 2005 17:27:16 +0200
sigc::connection conn =
Glib::signal_timeout(100).connect(sigc::ptr_fun(&on_timeout) );
to connect your signal handler to the timeout signal. Then you may just
use conn.disconnect() to remove the connection.
- Armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]