CHAPTER 7The Text View Widget

In Chapter 6, you learned about a large number of utilities, data structures, and other types of functionality provided by GLib, so there are very few further things about GLib that you will learn throughout the book. Instead, you will apply the knowledge that you have gained in Chapter 6 to future examples and exercises.

Chapter 7 will teach you how to use the GtkTextView widget. The text view widget is similar to a GtkEntry widget, except it is capable of holding text that spans multiple lines. Scrolled windows will be used to allow the document to exist beyond the bounds of the screen.

Before you learn about GtkTextView, Chapter 7 begins by introducing a few new widgets. The first two widgets are scrolled windows ...

Get Foundations of GTK+ Development 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.