My Project
Loading...
Searching...
No Matches
SDL_TextEditingEvent Struct Reference

Keyboard text editing event structure (event.edit.*) More...

#include <SDL_events.h>

Data Fields

Uint32 type
 
Uint32 timestamp
 
Uint32 windowID
 
char text [SDL_TEXTEDITINGEVENT_TEXT_SIZE]
 
Sint32 start
 
Sint32 length
 

Detailed Description

Keyboard text editing event structure (event.edit.*)

Field Documentation

◆ length

Sint32 length

The length of selected editing text

◆ start

Sint32 start

The start cursor of selected editing text

◆ text

char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]

The editing text

◆ timestamp

Uint32 timestamp

In milliseconds, populated using SDL_GetTicks()

◆ type

Uint32 type

◆ windowID

Uint32 windowID

The window with keyboard focus, if any


The documentation for this struct was generated from the following file: