Syntax
int GtGetDesktopWidth( void );
Arguments
No arguments.
Return value
The width in pixels for the desktop reported by the driver.
Description
Read GtGetDesktopHeight() for the other dimension. Use GtGetDesktopCols() when you need the related measurement.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Desktop dimensions, width (pixels): %d\n", GtGetDesktopWidth() );
return 0;
}