Re: [Java-gnome-developer] Thanks and some questions
Brought to you by:
afcowie
From: Pablo B. <pb...@uo...> - 2003-06-29 20:36:19
|
I'll try to help you in some stuff I experimented with, I'm not a java-gnome expert. On Sun, 2003-06-29 at 17:49, Mark Wielaard wrote: > I couldn't find documentation about how to work with java-gnome from > multiple threads. To be save I just created a Fireable and a Timer > that sets off a couple times a second and then update the Widgets in > the fire() method that checks progress flags set in other threads. > What is the recommended way to handle multiple thread that want to > update the GUI. When is it save to call a widget or other glib, gtk or > gnome object from a thread that isn't the main gtk thread? With my Gtk# project (http://gnomencoder.sourceforge.net), I used the C gdk_threads_enter and gdk_threads_leave functions. I don't have a clue on how to call them with Java, or if they are wrapped somewhere. Regards! -- <HACKrley_PaNiK> si perl esta bueno <Script-Fu> Compilar PERL? <Script-Fu> Juas! <agamenon> que usas para compilarlo??? <pablog> el el Perl2Exe |