3.4 Obtaining mouse information

3.4.3 Active regions

When an active region is associated with a bitmap, mouse events that occur inside the active region can invoke methods for specific mouse events. For example, the pop-up menu displayed by the Editor buffer windows uses active region methods for highlighting and for selecting menu items.

The function make-active-region allows you to specify a region that is associated with a bitmap. The value of each keyword argument tomake-active-region is the user-defined code that is executed when the mouse action associated with the keyword occurs in the active region.

You can specify any of these mouse actions as keyword arguments to the functionmake-active-region:

:mouse-click
:mouse-transition
:mouse-moved
:mouse-enter-region

3.4.3.1 - Active region events
3.4.3.2 - Multitasking and active region methods
3.4.3.3 - Using active regions
3.4.3.4 - Restricting mouse actions in active regions
3.4.3.5 - Preempting mouse methods

The Window Tool Kit - 9 SEP 1996

Generated with Harlequin WebMaker