gtk - How to access GTimer provided by GLib in Perl? -


i'm writing application using perl , gtk2-perl keeps track of elapsed time. needs perform function when count down timer expires. nice if timer generated signal when expired.

i see glib provides gtimer structure purpose, can't find documentation how access through gtk2-perl, or if advisable, because maybe there's better solution that's native perl.

i think you're looking glib::timeout->add or glib::timeout->add_seconds. note add_seconds more multiply interval 1000.

glib's gtimer keeps track of elapsed time; doesn't emit signals. perlish equivalent of gtimer time::hires.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -