Syntax
int GtGetFontWidth( void );
Arguments
No arguments.
Return value
The cell width in pixels.
Description
Use it with GtGetFontSize() when converting a grid of cells into pixel dimensions.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Text cell dimensions, width (pixels): %d\n", GtGetFontWidth() );
return 0;
}