From 42d194079b0bb20124af5efced63019e79d74cfc Mon Sep 17 00:00:00 2001 From: miguel Date: Sat, 4 May 2019 22:24:53 -0400 Subject: [PATCH] Support navigation in the presence of disabled items --- Terminal.Gui/Dialogs/Dialog.cs | 8 +++++++- Terminal.Gui/Views/Menu.cs | 28 +++++++++++++++++++++------- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/Terminal.Gui/Dialogs/Dialog.cs b/Terminal.Gui/Dialogs/Dialog.cs index 934c51ee1..31f8d8b47 100644 --- a/Terminal.Gui/Dialogs/Dialog.cs +++ b/Terminal.Gui/Dialogs/Dialog.cs @@ -12,8 +12,14 @@ using NStack; namespace Terminal.Gui { /// /// The dialog box is a window that by default is centered and contains one - /// or more buttons. + /// 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