ConsoleForge 0.3.0
Elm-architecture TUI framework for .NET 8
Loading...
Searching...
No Matches
ConsoleForge.Layout.ResolvedLayout Class Referencesealed

Result of layout resolution: maps each widget to its allocated terminal region. More...

Public Member Functions

RegionGetRegion (IWidget widget)
 Get the region for a specific widget, or null if not found.
 ResolvedLayout (Dictionary< IWidget, Region > allocations)
 Initialises the layout with the given widget-to-region allocation map.
bool TryGetRegion (IWidget widget, out Region region)
 Try-get pattern for use in Container.Render().

Properties

Dictionary< IWidget, RegionAllocations [get]
 Map from each widget to its allocated absolute terminal region.

Detailed Description

Result of layout resolution: maps each widget to its allocated terminal region.


The documentation for this class was generated from the following file:
  • src/ConsoleForge/Layout/ResolvedLayout.cs