Syntax
void GtGetWindowPos( int *x, int *y );
Arguments
x points to an integer that receives the horizontal coordinate on the desktop.
y points to an integer that receives the vertical coordinate on the desktop.
Return value
No return value.
Description
Read and save the two coordinates before temporarily moving the window with GtSetWindowPos().
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
int x, y;
GtGetWindowPos( &x, &y );
printf( "x=%d, y=%d\n", x, y );
return 0;
}