Syntax
int GtGetDesktopCols( void );
Arguments
No arguments.
Return value
The desktop capacity in text columns.
Description
The driver measures the desktop in units of the current text cell width. Use GtGetDesktopRows() for the row capacity.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Desktop capacity, column count (columns): %d\n", GtGetDesktopCols() );
return 0;
}