[gtk+osx] allow UI to work during long operation

View: New views
1 Messages — Rating Filter:   Alert me  

[gtk+osx] allow UI to work during long operation

by KieSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

When user presses a button at my app, it starts a long operation. But I need
allow UI to work (update stat and other information). Linux version of my
app calls following code every few milliseconds:

while(gtk_events_pending()) gtk_main_iteration();

That works on Linux but does not work with GTK-OSX. Can you advice anything?

Looking forward to hearing from you soon,

Best regards,
Igor



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gtk-osx-developer mailing list
Gtk-osx-developer@...
https://lists.sourceforge.net/lists/listinfo/gtk-osx-developer
LightInTheBox - Buy quality products at wholesale price