Keyboard IME candidates event structure (event.edit_candidates.*)
Defined in <SDL3/SDL_events.h>
typedef struct SDL_TextEditingCandidatesEvent
{/**< SDL_EVENT_TEXT_EDITING_CANDIDATES */
SDL_EventType type;
Uint32 reserved;/**< In nanoseconds, populated using SDL_GetTicksNS() */
Uint64 timestamp; /**< The window with keyboard focus, if any */
SDL_WindowID windowID; const char * const *candidates; /**< The list of candidates, or NULL if there are no candidates available */
/**< The number of strings in `candidates` */
Sint32 num_candidates; /**< The index of the selected candidate, or -1 if no candidate is selected */
Sint32 selected_candidate; bool horizontal; /**< true if the list is horizontal, false if it's vertical */
Uint8 padding1;
Uint8 padding2;
Uint8 padding3; } SDL_TextEditingCandidatesEvent;
This struct is available since SDL 3.1.3.