Re: [gtkmm] Using gtkmm and ACE together



Duke of Rockville <vladg erols com> writes:

> Daniel,
> 
> I use ACE + Gtkmm for my applications. The way I set up things
> is rather simple - register a timer event with Gtkmm and then
> call ACE's event loop with a timeout from the timer handler.
> By varying the timeout for both timers you can balance who has
> preference. Essentially you would be *polling* ACE from Gtkmm timer
> handler. It works for me. 
> 
I once used a similar aproach for CORBA (MICO) + PyGTK. I used the GTK
idle signal, tough (if the UI should have preference, this one causes
less overhead, I guess).

Andy
-- 
Andreas Rottmann         | Dru ICQ        | 118634484 ICQ | a rottmann gmx at
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62



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