Glib signal_timeout
- From: "Diego A. Fons" <diegofons apexar com>
- To: gtkmm-list gnome org
- Subject: Glib signal_timeout
- Date: Thu, 11 Dec 2008 11:38:10 -0200
Hi,
I'm trying to set timeout functions at different intervals in a GTKmm
application. I'm using this method (signal):
Glib::signal_timeout().connect(sigc::ptr_fun(&timeout_handler), 1000);
My question is if it is possible to set several timeout sources, like this:
Glib::signal_timeout().connect(sigc::ptr_fun(&timeout_handler_1), 100);
Glib::signal_timeout().connect(sigc::ptr_fun(&timeout_handler_2), 500);
The result of making those calls is two independent handlers executing
one at 100 and the other at 500 ms? or the handlers will execute both at
100 and 500 ms?
Regards,
Diego A. Fons.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]