using GtkTextView as a single line editor widget?



I tried unsuccessfully to use the GtkTextView as a single line text
editor widget. I need to use some of the features provided by
GtkTextView/GtkTextBuffer so I cannot use GtkEntry.
Right now I have the text wrap which causes the text box to expand
vertically. I tried turning off wrapping and putting it inside a
Scrolled Window and that didn't quite work.

Also, is there any tips on writing more effecient code that uses
GtkTextBuffer? It seems that applying tags is a performance killer.
I've been trying to make my code faster, but it seems I cannot do
anything to make GtkTextBuffer faster.



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