How to setup a timer in gtk



Hi,

Can you please tell me how can I setup a timer in gtk application?

It has a 'g_timeout_add()' function, but it 'Sets a function to be
called at regular intervals, with the default priority,
G_PRIORITY_DEFAULT.'

But all I want is it call my function to be called only once when the
timer expires.
How can I do that?

Thank you.


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