On Tue, 2008-07-29 at 16:00 +0200, Bernhard Jung wrote:
> Is this behavior normal to GTK+? I know in Java/Swing and .NET/Windows Forms
> manipulation of GUI widgets has to be done in a special thread. Is there a
> similar concept in GTK+? Or maybe something is wrong with my code?
You have 2 choices in GTK:
a) only do GTK/GDK/backend operations in a single thread, with the
exception of calling g_idle_add()
b) use GDK thread locking primitives around every
GTK/GDK/backend operation, in every thread
Most people have found that (a) is preferable to (b).
--p
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list