General Terminal

GtIsBordered

Check whether the window uses decorations

Syntax

Signature
xBool GtIsBordered( void );

Arguments

No arguments.

Return value

T if the window uses decorations, otherwise F.

Description

Controls the driver’s window frame and title bar.

Example

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

#include <stdio.h>

int main( void )
{
   printf( "Bordered state: %s\n", GtIsBordered() ? "on" : "off" );

   return 0;
}

See also