Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    Application Class

    Namespace: Stride.Graphics.SDL
    Assembly: Stride.Graphics.dll
    System.Object → Application
    Derived from Application:

    public static class Application
    Name Description
    Properties
    Clipboard
    MousePosition

    Screen coordinate of the mouse.

    Windows

    List of windows managed by the application.

    WindowWithFocus

    Window that currently has the focus.

    Methods
    ProcessEvent(SDL.SDL_Event)

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

    ProcessEvents()

    Process all available events.

    RegisterWindow(Window)

    Register c to the list of available windows.

    UnregisterWindow(Window)

    Unregister c from the list of available windows.

    | Improve this Doc View Source

    Properties


    Clipboard

    public static string Clipboard { get; set; }
    Property Value
    Type Description
    System.String

    MousePosition

    Screen coordinate of the mouse.

    public static Point MousePosition { get; set; }
    Property Value
    Type Description
    Point

    Windows

    List of windows managed by the application.

    public static List<Window> Windows { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Window>

    WindowWithFocus

    Window that currently has the focus.

    public static Window WindowWithFocus { get; }
    Property Value
    Type Description
    Window
    | Improve this Doc View Source

    Methods


    ProcessEvent(SDL.SDL_Event)

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

    public static void ProcessEvent(SDL.SDL_Event e)
    Parameters
    Type Name Description
    SDL2.SDL.SDL_Event e

    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
    Type Name Description
    Window c

    Window to register


    UnregisterWindow(Window)

    Unregister c from the list of available windows.

    public static void UnregisterWindow(Window c)
    Parameters
    Type Name Description
    Window c

    Window to unregister


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation