Wiki Page Content

Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2014-01-09 00:47:38
Size: 671
Editor: urkle
Comment: add related function
Revision 6 as of 2016-05-14 22:24:43
Size: 730
Comment: Changed wording of description.
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to return a flag indicating whether the clipboard exists and contains a text string that is non-empty. Use this function to get a flag indicating whether the clipboard exists and contains a text string that is non-empty.
Line 25: Line 25:
== Version ==
This function is available since SDL 2.0.0.

SDL_HasClipboardText

Use this function to get 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

Version

This function is available since SDL 2.0.0.


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