Re: callbacks: doing i/o bound stuff in them



You may need to refer to this post first..
http://mail.gnome.org/archives/gtk-app-devel-list/2006-February/msg00266.html

Callbacks should not do processing intensive or blocking calls... you
may create threads to do  the job... You can also use
if gtk_events_pending(): gtk_main_teration()

Make sure that you give the control back to gtk as soon as possible so
that it can process your gtk related operations...

Regards,
Santhosh.



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