Syntax
int GtGetScreenWidth( void );
Arguments
No arguments.
Return value
The width in pixels of the WTUI screen, in the driver’s screen coordinate units.
Description
Read GtGetScreenHeight() for the other dimension. Use GtGetLogicalWidth() when you need the related measurement.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Terminal screen dimensions, width (pixels): %d\n", GtGetScreenWidth() );
return 0;
}