Skip to content

InputEventFromWindow

Eduard Gushchin edited this page Jun 21, 2026 · 5 revisions

InputEventFromWindow

Back to API Reference

Namespace: Electron2D

Summary

Base class for input events that originate from a platform window.

Declaration

public class Electron2D.InputEventFromWindow : Electron2D.InputEvent

Remarks

This mirrors Electron2D's window-scoped input layer and stores the window identifier reported by the platform event source.

Instances are mutable and are not synchronized; use them from the input dispatch thread that owns the event.

Thread Safety

Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.

Since

This class is available since Electron2D 0.1.0 Preview.

Members

Member Kind Summary
WindowId Property Gets or sets the platform window identifier associated with this event.
Electron2D.InputEventFromWindow() Constructor Initializes a new instance of the InputEventFromWindow type.

Member Details

WindowId

Kind: Property

public System.Int32 WindowId { get; set; }

Summary

Gets or sets the platform window identifier associated with this event.

Remarks

This property follows the validation and lifetime rules of its declaring type.

Value

The current window id value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.InputEventFromWindow

Electron2D.InputEventFromWindow()

Kind: Constructor

public Electron2D.InputEventFromWindow()

Summary

Initializes a new instance of the InputEventFromWindow type.

Remarks

The new instance follows the lifetime and validation rules of its declaring type.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.InputEventFromWindow

Clone this wiki locally