[...]
>A loop is running in a separate thread and gets information given by an
>external counter, in order to draw a curve on screen using a GtkCurve
>object.
>In fact I have some refresh problems. Considering T is current time,
>gtk_curve_set_vector displays vector(T) two or three times >consecutively,
>whereas it should display vector(T+1) and then vector(T+2) (both values
>are different from vector(T) ) ...
>It doesn't seem to be a thread synchronization problem. Any idea ?
>A loop is running in a separate thread and gets information given by an
>external counter, in order to draw a curve on screen using a GtkCurve
>object.
>In fact I have some refresh problems. Considering T is current time,
>gtk_curve_set_vector displays vector(T) two or three times >consecutively,
>whereas it should display vector(T+1) and then vector(T+2) (both values
>are different from vector(T) ) ...
>It doesn't seem to be a thread synchronization problem. Any idea ?
For information, I solved my problem using gtk_curve_queue_draw()
Jecee.
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. Téléchargez GRATUITEMENT ici !
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list