GtkTextView and pthread



Hello everyone

I have a problem with repainting GtkTextView widget after modifying
GtkTextBuffer.
The application has two threads. One resposible for making widgets,
taking care of gtk events and the other one which takes care about
receiving data from a socket.
When the thread which receives data via the socket updates
GtkTextBuffer, this change is not visible in GtkTextView until I move a
mouse over the application window.

What should I do to make (from other thread) view to update itself? I
tried gtk_widget_queue_draw but without any improvement.

Any help is appriciated.
Pablo




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