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

Multithreaded applications and GTK+



   Hi,

I'm developing a multi-threaded application with GTK+. Each thread is
supposed to have a state, and they should show it in a clist, using
gtk_clist_set_text. In the FAQS I have read that the correct way is to
prepend gdk_threads_enter(); and append gdk_threads_leave(); to every
gdk-related statement, to lock and unlock the mutex of GDK, so
everything works. But this seems too hard and too messy. Isn't there any

smarter way of doing it? Or have I understood the docs badly?

   Greets,
 Iñaki



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