Table of Contents

Class Application

Namespace
Stride.Graphics.SDL
Assembly
Stride.Graphics.dll
public static class Application
Inheritance
Application

Properties

Clipboard

public static string Clipboard { get; set; }

Property Value

string

MousePosition

Screen coordinate of the mouse.

public static Point MousePosition { get; set; }

Property Value

Point

WindowWithFocus

Window that currently has the focus.

public static Window WindowWithFocus { get; }

Property Value

Window

Windows

List of windows managed by the application.

public static List<Window> Windows { get; }

Property Value

List<Window>

Methods

ProcessEvent(Event)

Process a single event and dispatch it to the right window.

public static void ProcessEvent(Event e)

Parameters

e Event

ProcessEvents()

Process all available events.

public static void ProcessEvents()

RegisterWindow(Window)

Register c to the list of available windows.

public static void RegisterWindow(Window c)

Parameters

c Window

Window to register

UnregisterWindow(Window)

Unregister c from the list of available windows.

public static void UnregisterWindow(Window c)

Parameters

c Window

Window to unregister