hello everyone, I want a timer like widget. This will call a specific function, after a specified interval. I have used the GTimer, but it wasn't suitable for my needs. Also, I have tried with loops, like this

Code:

while(get_time_elapsed==interval) run a given function

but it will continously use the CPU. Any idea, of create a widget, which will emit a signal after a specified interval. Thanks in advance :)

Who is online

Users browsing this forum: Google [Bot] and 6 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum