O'Reilly logo

Foundations of GTK+ Development by Andrew Krause

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required