CHAPTER 5Dialogs

This chapter introduces you to a special type of window called a dialog. Dialogs are windows that supplement the top-level window. The dialog is provided by GtkDialog, a child class of GtkWindow, extended with additional functionality. This means it is possible to implement your entire interface in one or more dialogs, while leaving the main window hidden.

You can do anything with a dialog, such as display a message or prompt the user to select an option. Their purpose is to enhance user experience by providing some type of transient functionality.

In the first part of the chapter, you will learn how to use GtkDialog to create your own custom dialogs. The next section will introduce you to the large number of built-in dialogs ...

Get Foundations of GTK+ Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.