Clipboard#
Functions
-
const char *sfClipboard_getString()#
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 sfUint32 *sfClipboard_getUnicodeString()#
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 sfUint32 *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