Syntax
void GtSetClipboard( const char *text );
Arguments
text is the UTF-8 text to copy. Use NULL for an empty string.
Return value
No return value.
Description
Replaces the current clipboard text on drivers that support clipboard access. Use GtGetClipboard() to read back the text.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
GtSetClipboard( "Sample text" );
puts( GtGetClipboard() );
return 0;
}