SDL_TextEditingCandidatesEvent

Keyboard IME candidates event structure (event.edit_candidates.*)

\since This struct is available since SDL 3.2.0.

Members

Variables

candidates
const(const(char)*)* candidates;

< The list of candidates, or NULL if there are no candidates available

horizontal
bool horizontal;

< true if the list is horizontal, false if it's vertical

num_candidates
Sint32 num_candidates;

< The number of strings in candidates

padding1
Uint8 padding1;
Undocumented in source.
padding2
Uint8 padding2;
Undocumented in source.
padding3
Uint8 padding3;
Undocumented in source.
reserved
Uint32 reserved;
Undocumented in source.
selected_candidate
Sint32 selected_candidate;

< The index of the selected candidate, or -1 if no candidate is selected

timestamp
Uint64 timestamp;

< In nanoseconds, populated using SDL_GetTicksNS()

type
SDL_EventType type;

< SDL_EVENT_TEXT_EDITING_CANDIDATES

windowID
SDL_WindowID windowID;

< The window with keyboard focus, if any

Meta