General Terminal

GtSetBordered

Show or hide the window decorations

Syntax

Signature
void GtSetBordered( xBool on );

Arguments

on enables the setting with T or disables it with F.

Return value

No return value.

Description

Controls the driver’s window frame and title bar. Check the resulting state with GtIsBordered().

Example

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

#include <stdio.h>

int main( void )
{
   xBool previous = GtIsBordered();

   GtSetBordered( F );
   printf( "Bordered state: %s\n", GtIsBordered() ? "on" : "off" );
   Inkey( 2, NIL );
   GtSetBordered( previous );

   return 0;
}

See also