Skip to content

TSdlWindowEvent

Window state change event data (Event.Window.* )

Definition

Unit: Neslib.Sdl3.Events

type TSdlWindowEvent = record ... end;

Properties

Name Description
Data1 Event dependent data
Data2 Event dependent data
Kind Event kind (TSdlEventKind.Window*)
Timestamp In nanoseconds, populated using SdlGetTicksNS
Window The associated window
WindowID The ID associated window

Property Descriptions

Data1

Event dependent data

property Data1: Integer read FHandle.data1

Type: Integer


Data2

Event dependent data

property Data2: Integer read FHandle.data2

Type: Integer


Kind

Event kind (TSdlEventKind.Window*)

property Kind: TSdlEventKind read GetKind

Type: TSdlEventKind


Timestamp

In nanoseconds, populated using SdlGetTicksNS

property Timestamp: UInt64 read FHandle.timestamp

Type: UInt64


Window

The associated window

property Window: TSdlWindow read GetWindow

Type: TSdlWindow


WindowID

The ID associated window

property WindowID: TSdlWindowID read FHandle.windowID

Type: TSdlWindowID