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

Re: gtk_text_insert very slow....



Usually those themes have a pixmap drawn on the background of the text widget,
I found that many times editing such themes to remove those unneeded pixmaps
resolves the issues with gtktext and those themes. However, the gtktext is
being replaced..

Maher

On Fri, 1 Dec 2000 17:55:00 +0100, Julien Schmitt said:

> Hi,
>  
>  Here is my problem :
>  
>  I am writing a little GTK program which should work like the Windows' "Hyper Terminal". I use a GIOChannel to read the serial port and a callback connected with g_io_add_watch to print the received caracter in a GtkText (with gtk_text_insert) .
>  So, each time I receive a byte on my serial port I print it immediately through this callback in my GtkEditable.
>  My problem is quite strange :
>  it works perfectlty when I have no gtk theme installed but when I have a theme with pixmaps , the gtk_text_insert function is very slow ! I think my program only prints 5 caracters per second approximately...
>  
>  I really dont't know what to do... If you need more explanations, please ask me !
>  
>  thanx !
>  
>  Julien
>  
>  _______________________________________________
>  gtk-app-devel-list mailing list
>  gtk-app-devel-list@gnome.org
>  http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>  
>  

-- 
muhri@muhri.net -- http://www.muhri.net





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