#nullable enable
using System.Collections.Concurrent;
namespace Terminal.Gui.App;
public static partial class Application // Toplevel handling
{
///
public static ConcurrentStack TopLevels => ApplicationImpl.Instance.TopLevels;
/// The that is currently active.
/// The top.
public static Toplevel? Top
{
get => ApplicationImpl.Instance.Top;
internal set => ApplicationImpl.Instance.Top = value;
}
}