Clipboard¶
Functions
- 
const char *sfClipboard_getString(void)¶
 Get the content of the clipboard as string data (returns an ANSI string)
This function returns the content of the clipboard as a string. If the clipboard does not contain string it returns an empty string.
- Returns:
 Clipboard contents as a locale-dependent ANSI string
- 
const sfChar32 *sfClipboard_getUnicodeString(void)¶
 Get the content of the clipboard as string data (returns a Unicode string)
This function returns the content of the clipboard as a string. If the clipboard does not contain string it returns an empty string.
- Returns:
 Clipboard contents as UTF-32
- 
void sfClipboard_setString(const char *text)¶
 Set the content of the clipboard as ANSI string data.
This function sets the content of the clipboard as an ANSI string.
- Parameters:
 text – ANSI string containing the data to be sent to the clipboard
- 
void sfClipboard_setUnicodeString(const sfChar32 *text)¶
 Set the content of the clipboard as Unicode string data.
This function sets the content of the clipboard as a Unicode string.
- Parameters:
 text – Unicode string containing the data to be sent to the clipboard