SDL 3.0
|
#include <SDL_events.h>
Data Fields | |
SDL_EventType | type |
Uint32 | reserved |
Uint64 | timestamp |
SDL_WindowID | windowID |
const char *const * | candidates |
Sint32 | num_candidates |
Sint32 | selected_candidate |
bool | horizontal |
Uint8 | padding1 |
Uint8 | padding2 |
Uint8 | padding3 |
Keyboard IME candidates event structure (event.edit_candidates.*)
Definition at line 359 of file SDL_events.h.
const char* const* SDL_TextEditingCandidatesEvent::candidates |
The list of candidates, or NULL if there are no candidates available
Definition at line 365 of file SDL_events.h.
bool SDL_TextEditingCandidatesEvent::horizontal |
true if the list is horizontal, false if it's vertical
Definition at line 368 of file SDL_events.h.
Sint32 SDL_TextEditingCandidatesEvent::num_candidates |
The number of strings in candidates
Definition at line 366 of file SDL_events.h.
Uint8 SDL_TextEditingCandidatesEvent::padding1 |
Definition at line 369 of file SDL_events.h.
Uint8 SDL_TextEditingCandidatesEvent::padding2 |
Definition at line 370 of file SDL_events.h.
Uint8 SDL_TextEditingCandidatesEvent::padding3 |
Definition at line 371 of file SDL_events.h.
Uint32 SDL_TextEditingCandidatesEvent::reserved |
Definition at line 362 of file SDL_events.h.
Sint32 SDL_TextEditingCandidatesEvent::selected_candidate |
The index of the selected candidate, or -1 if no candidate is selected
Definition at line 367 of file SDL_events.h.
Uint64 SDL_TextEditingCandidatesEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 363 of file SDL_events.h.
SDL_EventType SDL_TextEditingCandidatesEvent::type |
SDL_EVENT_TEXT_EDITING_CANDIDATES
Definition at line 361 of file SDL_events.h.
SDL_WindowID SDL_TextEditingCandidatesEvent::windowID |
The window with keyboard focus, if any
Definition at line 364 of file SDL_events.h.