place-at-point

Name

place-at-point -- Place WIN at the pointer position.

Synopsis

(place-at-point win #&key (offset '(0 0))
			       (proportional-offset '(-0.5 -0.5)))

Description

Place WIN at the pointer position. If the keyword argument OFFSET is specified, it is interpreted as a list of x and y offsets to add to the pointer position. If the keyword argument PROPORTIONAL-OFFSET is specified, it is interpreted as a list of numbers to multiply by the window's width and height, and is treated as an extra offset. The defaults are (0 0) for OFFSET and (-0.5 -0.5) for PROPORTIONAL-OFFSET, with the result that by default the window is centered at the mouse pointer position.

Implementation Notes

Module: (app scwm placement)

Defined in scheme/placement.scm at line 64 (CVS log)