[Glade-users] Textbox contents and saving.

Damon Chaplin damon@helixcode.com
Tue, 26 Sep 2000 12:04:47 +0100


"O. de Zwart" wrote:
> 
> Hello, I am writing a editor and I wondered how I can save the contents
> of a textbox to a file. I don;t see the textbox mentioned in the
> tutorial and I wondered if there are any alternatives because the
> textbox seems so limeted. I would like to scroll to the right and
> include syntax highlighting.

GtkText doesn't support horizontal scrolling and is a bit buggy.

There are a few other text widgets for GTK+ around, e.g. GtkExText and
GtkScText.

I've heard that GtkExText is better, though I haven't seen either.
(There may be a link on http://www.bahnhof.se/~mikeh )

GTK+ 2.0 has a new text widget which is much better, but you may have to
wait for 2.0 to use it.

Damon