Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-03-23 16:08:03
Size: 701
Editor: SheenaSmith
Comment: create page, add content (Rev 5540)
Revision 2 as of 2010-06-29 05:56:04
Size: 1122
Editor: SheenaSmith
Comment: add content from old wiki
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
||char||'''text[SDL_TEXTINPUTEVENT_TEXT_SIZE]'''||the input text|| ||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?)>>
Line 22: Line 23:
''You can add useful comments here'' * [[SDL_TextInputEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTINPUT is reported. *

== Related Structures ==
 .[[SDL_TextEditingEvent]]
Line 25: Line 29:
 .[[SDL_StartTextInput]]
 .[[SDL_StopTextInput]]

DRAFT

SDL_TextInputEvent

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

Data Fields

Uint8

type

SDL_TEXTINPUT

Uint32

windowID

the window with keyboard focus, if any

Uint8

which

the keyboard device index

char

text[SDL_TEXTINPUTEVENT_TEXT_SIZE]

the input text; *at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters*

green

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

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