General Terminal

GtGetWindowHeight

Get the height for window client dimensions

Syntax

Signature
int GtGetWindowHeight( void );

Arguments

No arguments.

Return value

The height in window coordinates of the client area.

Description

Read GtGetWindowWidth() for the other dimension. Use GtGetOutputHeight() when you need the related measurement.

Example

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

#include <stdio.h>

int main( void )
{
   printf( "Window client dimensions, height (window coordinates): %d\n", GtGetWindowHeight() );

   return 0;
}

See also