[Fwd: Re: Gtk screen refresh]




--- Begin Message ---
Try to invalidate the widget so it must redraw again...



Jirka Pirko escribió:

it dont work - im calling gtk_main_iteration_do from different pthread than where is running gtk_main... but it makes sense... just for sure im not doing anything wrong...

jirka

Daniel Campos napsal(a):

Jirka Pirko escribió:

hi

i have following problem:

need to append chars to GTK_ENTRY as they are coming from serial port (/dev/ttyS0) i'm reading chars, appending (gtk_entry_appent_text()) them into GTK_ENTRY, but i CANT SEE them. (until i press key or when i put cursor into GTK_ENTRY)

i think i must force gtk_main loop to loop once i recieve each char but i don't know how to do...



Hi:

gtk_main_iteration_do

Regards,

D. Campos


it must be easy to do this but i can't find solution in documentation.

thanks for any helping

jirka
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list





--- End Message ---


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