General Terminal

GtGetScreenHeight

Get the height for terminal screen dimensions

Syntax

Signature
int GtGetScreenHeight( void );

Arguments

No arguments.

Return value

The height in pixels of the WTUI screen, in the driver’s screen coordinate units.

Description

Read GtGetScreenWidth() for the other dimension. Use GtGetLogicalHeight() when you need the related measurement.

Example

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

#include <stdio.h>

int main( void )
{
   printf( "Terminal screen dimensions, height (pixels): %d\n", GtGetScreenHeight() );

   return 0;
}

See also