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