Re: Adding functions to the main loop



Yep,

Thanks that was exactly what I was searching for.


On 5/6/06, Jonathon Jongsma <jonathon jongsma gmail com> wrote:
On 5/6/06, Mario Segura <masegurita gmail com> wrote:
> HI,
>
>  I would like to add some functions to the main loop of a GTKMM application,
> but i havent found documentation about it.
>
>  My idea is to run a function every 0.1 seconds independent of what the GUI
> is doing.
>
>  Thanks,

look at Glib::SignalTimeout:
http://gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalTimeout.html

Does that do what you want?

Jonner



--
Mario Segura S.

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