Re: text widget performance




Hi,

500ms is very low due to high-traffic..

In fact, I choose this timeout because it works fine with MFC under Windows :-)

        François

you can either increase this to, maybe, 1000ms, or gtk_idle_add_priority()
and set the socket to non-blocking or use select()..
then gtk will only call your callback when it's idle.. don't forget to give
the lowest priority to the socket..
I liked more the second one.. :)

[]'s
-- 
Marcelo R Leitner <mrl netbank com br>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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