namespace Terminal.Gui;
///
/// Defines the scope of a that has been bound to a key with
/// .
///
///
/// Key bindings are scoped to the most-focused view () by default.
///
[Flags]
public enum KeyBindingScope
{
/// The key binding is disabled.
Disabled = 0,
/// The key binding is scoped to just the view that has focus.
Focused = 1,
///
/// The key binding is scoped to the View's Superview hierarchy and will be triggered even when the View does not have
/// focus, as
/// long as the SuperView does have focus. This is typically used for s.
///
///
/// The View must be visible.
///
///
/// HotKey-scoped key bindings are only invoked if the key down event was not handled by the focused view or
/// any of its subviews.
///
///
///
HotKey = 2,
///
/// The key binding will be triggered regardless of which view has focus. This is typically used for global
/// commands, which are called Shortcuts.
///
///
///
/// Application-scoped key bindings are only invoked if the key down event was not handled by the focused view or
/// any of its subviews, and if the key was not bound to a .
///
///
Application = 4,
}