//
// Dialog.cs: Dialog box
//
// Authors:
// Miguel de Icaza (miguel@gnome.org)
//
using System;
using System.Collections.Generic;
using NStack;
namespace Terminal.Gui {
///
/// The dialog box is a window that by default is centered and contains one
/// or more buttons. It defaults to the Colors.Dialog color scheme and has a
/// 1 cell padding around the edges.
///
///
/// To run the dialog modally, create the Dialog, and pass this to Application.Run which
/// will execute the dialog until it terminates via the [ESC] key, or when one of the views
/// or buttons added to the dialog set the Running property on the Dialog to false.
///
public class Dialog : Window {
List