(at-point-placement #&key (offset '(0 0)) (proportional-offset '(-0.5 -0.5)) (switch #t) (return #f) (auto-focus #f))
Return a procedure that places a window 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 by the returned procedure. If SWITCH is true, the returned procedure will switch to the virtual desk and viewport of its window argument before placing it. This is the default. If RETURN is false, the returned procedure will switch back to the previous desk and viewport after placing the window. The default is false. See also the related place-at-point procedure which directly places a window at the pointer position.
Module: (app scwm placement)
Defined in scheme/placement.scm at line 135 (CVS log)