Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-01-21 17:48:06
Size: 770
Editor: SheenaSmith
Comment: Update WindowID > Window*
Revision 3 as of 2010-08-29 22:25:59
Size: 673
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 6: Line 5:
Use this function to associate an arbitrary pointer with the window. Use this function to associate an arbitrary pointer with a window.
Line 17: Line 16:
||'''window'''||the type used to identify the window||
||'''userdata'''||a pointer passed as the first parameter to the callback function||
||'''window'''||the window to associate with the pointer||
||'''userdata'''||the associated pointer||

SDL_SetWindowData

Use this function to associate an arbitrary pointer with a window.

Syntax

void SDL_SetWindowData(SDL_Window* window,
                       void*       userdata)

Function Parameters

window

the window to associate with the pointer

userdata

the associated pointer

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_SetWindowData (last edited 2013-07-23 12:50:11 by axper)

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