Class
RegionHandle
ConsoleMonster.Widgets
Replaces the content of a RegionWidget through the live session's update queue (thread-safe).
Inheritance
- LiveHandle
- RegionHandle
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method LiveSession.Region
- Method RegionWidget.Handle
Constructors
public RegionHandle(ILiveDispatcher dispatcher, string widgetId) #Creates a handle.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- The dispatcher (a live session).
- widgetId string
- The slot name.
Methods
public void Replace(IWidget widget) #Shows widget in the slot (same as RegionHandle.Set).
Parameters
- widget ConsoleMonster.Layout.IWidget
- The new content.
public void Set(IWidget widget) #Shows widget in the slot from the next frame on.
Parameters
- widget ConsoleMonster.Layout.IWidget
- The new content.