Skip to content

TSdlClipboardEvent

An event used to drop text or request a file open by the system (Event.Drop.* )

Definition

Unit: Neslib.Sdl3.Events

type TSdlClipboardEvent = record ... end;

Properties

Name Description
IsOwner Are we owning the clipboard (internal update)
Kind Event kind (TSdlEventKind.ClipboardUpdate)
MimeTypes Current mime types
MimeTypesPtr Pointer to current mime types
NumMimeTypes Number of mime types
Timestamp In nanoseconds, populated using SdlGetTicksNS

Property Descriptions

IsOwner

Are we owning the clipboard (internal update)

property IsOwner: Boolean read FHandle.owner

Type: Boolean


Kind

Event kind (TSdlEventKind.ClipboardUpdate)

property Kind: TSdlEventKind read GetKind

Type: TSdlEventKind


MimeTypes

Current mime types

property MimeTypes: TArray<String> read GetMimeTypes

Type: TArray<String>


MimeTypesPtr

Pointer to current mime types

property MimeTypesPtr: PPUTF8Char read FHandle.mime_types

Type: PPUTF8Char


NumMimeTypes

Number of mime types

property NumMimeTypes: Integer read FHandle.num_mime_types

Type: Integer


Timestamp

In nanoseconds, populated using SdlGetTicksNS

property Timestamp: UInt64 read FHandle.timestamp

Type: UInt64