Syntax
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
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Terminal screen dimensions, height (pixels): %d\n", GtGetScreenHeight() );
return 0;
}