# TextView (Vala)

Tiffany Antopolski
tiffany.antopolski@gmail.com 2012
Widget which displays a GtkTextBuffer

# TextView widget

If we press "enter", we have a new line.

If we press "enter" more times then there are lines in the default sized window, then a vertical scrollbar appears.

If we write a long sentence, the text will wrap breaking lines between words.

If we have a loooooooooooooooooooooooooooooooooooong word, a horizontal scrollbar will appear.

This is an example of Gtk.TextView

In this sample we used the following:

Gtk.TextBuffer

Gtk.TextView

Gtk.ScrolledWindow

Gtk.WrapMode

Gtk.PolicyType