Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wsetlocator(3W) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wgetlocator(3W)

,wscreen_sprite_mode(3W)

,wsetrasterecho(3W)

,wsetecho(3W)

WSETLOCATOR(3W)

Series 300 and 500 Only

NAME

wsetlocator − set window locator position

SYNOPSIS

init wsetlocator(fd,x,y);
int fd;
int x,y;

DESCRIPTION

fd is an integer file descriptor for an opened window type device interface. 

x,y contain the current locator position. 

DISCUSSION

Set the window system locator position relative to the specified window unit.  The definition of the locator will switch to whatever the locator is defined for the object in the window system that it is over. 

x and y are relative to the current window data space (not the screen).  They are also in pixel units.  The locator hot spot determines which part of the locator is actually at the coordinates, see wsetrasterecho and wsetecho.  For a window type, they are relative to the contents portion, (not the border). 

SEE ALSO

wgetlocator(3W),wscreen_sprite_mode(3W),wsetrasterecho(3W),wsetecho(3W). 

DIAGNOSTICS

A return of -1 indicates failure; otherwise 0 is returned.  See errno(2) for more information.

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026