© W. David Ashley and Andrew Krause 2019
W. David Ashley and Andrew KrauseFoundations of PyGTK Developmenthttps://doi.org/10.1007/978-1-4842-4179-0_8

8. Text View Widget

W. David Ashley1  and Andrew Krause2
(1)
AUSTIN, TX, USA
(2)
Leesburg, VA, USA
 

This chapter teaches you how to use the Gtk.TextView widget. The text view widget is similar to a Gtk.Entry widget, except it is capable of holding text that spans multiple lines. Scrolled windows allow the document to exist beyond the bounds of the screen.

Before you learn about Gtk.TextView, this chapter begins by introducing a few new widgets. The first two widgets are scrolled windows and viewports. Scrolled windows are composed of two scrollbars that scroll the child widget. A few widgets support scrolling ...

Get Foundations of PyGTK Development: GUI Creation with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.