Table of Contents
Dialogs are used as secondary windows, to provide specific information or to ask questions. Gtk::Dialog windows contain a few pre-packed widgets to ensure consistency, and a run() method which blocks until the user dismisses the dialog.
There are several derived dialog classes which you might find useful - you will certainly need to use Gtk::MessageDialog at some time. But at other times you might need to derive your own dialog class to provide more complex functionality.
To pack widgets into a custom dialog, you should pack them into the Gtk::VBox, available via get_vbox(). To just add a button to the bottom of the dialog, you could use the add_method() method.