CHAPTER 3Container Widgets

Chapter 2 showed you the basic essentials you will need in every GTK+ application you create. It also introduced you to signals, events, callback functions, the GtkLabel widget, the GtkButton widget, and the GtkContainer class.

In this chapter, you will cover the two types of container widgets: decorators and layout containers. Then you will gain knowledge of many important container widgets including boxes, notebooks, handle boxes, and event boxes.

The last widget covered, GtkEventBox, allows all widgets that would otherwise be unable to do so to take advantage of GDK events.

In this chapter, you will learn the following:

  • The purpose of the GtkContainer class and its descendents
  • How to use layout containers including ...

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.