Wiki Page Content

Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2011-04-15 17:11:55
Size: 582
Editor: SheenaSmith
Comment: update content - w/ Sam; remove draft
Revision 4 as of 2014-01-09 00:47:38
Size: 671
Editor: urkle
Comment: add related function
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to return whether the clipboard has text. Use this function to return a flag indicating whether the clipboard exists and contains a text string that is non-empty.
Line 27: Line 27:
 .[[SDL_SetClipboardText]]

SDL_HasClipboardText

Use this function to return a flag indicating whether the clipboard exists and contains a text string that is non-empty.

Syntax

SDL_bool SDL_HasClipboardText(void)

Return Value

Returns SDL_TRUE if the clipboard has text, or SDL_FALSE if it does not.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryClipboard

None: SDL_HasClipboardText (last edited 2016-05-14 22:24:43 by PhilippWiesemann)

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