General Terminal

GtIsSelectCopy

Check whether mouse selection copies text

Syntax

Signature
xBool GtIsSelectCopy( void );

Arguments

No arguments.

Return value

T if mouse selection copies text, otherwise F.

Description

Controls automatic copying of text selected with the mouse to the clipboard.

Example

gtisselectcopy.c
#include "xdev-wtui.h"

#include <stdio.h>

int main( void )
{
   printf( "Select Copy state: %s\n", GtIsSelectCopy() ? "on" : "off" );

   return 0;
}

See also