Syntax
void GtSetScreenSize( int width, int height );
Arguments
width, height give the requested horizontal and vertical sizes in pixels.
Return value
No return value.
Description
The driver may adjust the requested size to match its window and text-cell constraints. Use SetMode() to request a size in rows and columns.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
GtSetScreenSize( 720, 400 );
printf( "Terminal screen: %d x %d\n", GtGetScreenWidth(), GtGetScreenHeight() );
return 0;
}