| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: hotspot
Returns a value that specifies the region in which a hotspot is active, meaning where the hotspot will respond to mouse clicks and mouse movement. The value contains coordinates in the parent window's stream coordinate system.
The value may be specified by passing a :region initarg to make-instance when creating the hotspot, and/or by calling (setf hotspot-region) any time later.
The value may specify an orthogonal box, a polygon, a circle, or a line, and the format of the value depends on which type of geometrical object is being specified. Here is the format for each type:
box
instance, as created with make-box, and as you might pass to draw-box or fill-box to draw a box in that location. The
function inside-box-p will be
called internally to determine when the mouse is in the hotspot-region.
In releases prior to 7.0, this function was a method on box. That method still exists (along with the :box initarg) for compatibility.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |