Syntax
void GtSetSelectCopy( xBool on );
Arguments
on enables the setting with T or disables it with F.
Return value
No return value.
Description
Controls automatic copying of text selected with the mouse to the clipboard. Check the resulting state with GtIsSelectCopy().
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
xBool previous = GtIsSelectCopy();
GtSetSelectCopy( T );
printf( "Select Copy state: %s\n", GtIsSelectCopy() ? "on" : "off" );
GtSetSelectCopy( previous );
return 0;
}