Threads and GTK




The GTK faq states:

     There are basically two main approaches, the first is simple, and
     the second complicated. In the first, you just make sure that all
     GTK+ (or X) interactions are handled by one, and only one,
     thread. Any other thread that wants to draw something has to
     somehow notify the "GTK+" thread, and let it handle the actual
     work.

Does this mean that a thread can safely emit a signal as long as it
does not do any drawing, or does it mean that all interaction with the
GTK must be confined to one thread?



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