General Terminal

GtGetDesktopHeight

Get the height for desktop dimensions

Syntax

Signature
int GtGetDesktopHeight( void );

Arguments

No arguments.

Return value

The height in pixels for the desktop reported by the driver.

Description

Read GtGetDesktopWidth() for the other dimension. Use GtGetDesktopRows() when you need the related measurement.

Example

gtgetdesktopheight.c
#include "xdev-wtui.h"

#include <stdio.h>

int main( void )
{
   printf( "Desktop dimensions, height (pixels): %d\n", GtGetDesktopHeight() );

   return 0;
}

See also