Table of Contents

Class Win32Platform

Namespace
Xui.Runtime.Windows.Actual
Assembly
Xui.Runtime.Windows.dll
public class Win32Platform : IRuntime
Inheritance
Win32Platform
Implements
Inherited Members

Constructors

Win32Platform()

public Win32Platform()

Properties

DisplayContextStack

public static Stack<IContext> DisplayContextStack { get; }

Property Value

Stack<IContext>

MainDispatcher

Gets the main thread dispatcher for scheduling UI work. Used to marshal execution onto the main thread for layout, input, and rendering.

public IDispatcher MainDispatcher { get; }

Property Value

IDispatcher

Methods

CreateRunloop(Application)

Creates a platform-specific run loop associated with the given abstract application. The returned run loop is responsible for managing the application's execution lifecycle.

public IRunLoop CreateRunloop(Application applicationAbstract)

Parameters

applicationAbstract Application

The abstract application instance defined by user code.

Returns

IRunLoop

A platform-specific run loop instance.

CreateWindow(IWindow)

Creates a platform-specific window that is bound to the given abstract window definition.

public IWindow CreateWindow(IWindow windowAbstract)

Parameters

windowAbstract IWindow

The abstract window definition provided by user code.

Returns

IWindow

A concrete window implementation for the current platform.