General Terminal

GtSetFullScreen

Change the full-screen mode

Syntax

Signature
void GtSetFullScreen( xBool on );

Arguments

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

Return value

No return value.

Description

Controls full-screen mode on drivers that implement it. A mode change can resize the terminal view. Check the resulting state with GtIsFullScreen().

Example

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

#include <stdio.h>

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

   GtSetFullScreen( T );
   printf( "Full Screen state: %s\n", GtIsFullScreen() ? "on" : "off" );
   Inkey( 2, NIL );
   GtSetFullScreen( previous );

   return 0;
}

See also