Wiki Page Content

Differences between revisions 7 and 8
Revision 7 as of 2011-10-05 19:14:30
Size: 1160
Editor: SheenaSmith
Comment: add SDL_Event RS
Revision 8 as of 2012-09-18 11:07:52
Size: 987
Editor: pallavnawani
Comment: Removed Irrelevant Data.
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
||Uint32||'''windowID'''||the window with keyboard focus, if any||
||char||'''text[SDL_TEXTINPUTEVENT_TEXT_SIZE]'''||the input text; *at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters*||
<<Color2(green,The '''text''' field currently shows the same info in both columns because it could go in either per the header vs *old wiki*. Where should it go?)>>
||Uint32||'''windowID'''||The window with keyboard focus, if any||
||char||'''text[SDL_TEXTINPUTEVENT_TEXT_SIZE]'''||The input text; at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters||
Line 22: Line 21:
* [[SDL_TextInputEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTINPUT is reported. * [[SDL_TextInputEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTINPUT is reported.

DRAFT

SDL_TextInputEvent

A structure that contains keyboard text input event structure information (event.text.*).

Data Fields

Uint32

type

SDL_TEXTINPUT

Uint32

windowID

The window with keyboard focus, if any

char

text[SDL_TEXTINPUTEVENT_TEXT_SIZE]

The input text; at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters

Code Examples

You can add your code example here

Remarks

SDL_TextInputEvent() is a member of the SDL_Event union and is used when an event of type SDL_TEXTINPUT is reported.


CategoryStruct, CategoryEvents

None: SDL_TextInputEvent (last edited 2015-01-28 20:41:22 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit