Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
This page is new in 8.2.


Arguments: cg-configuration

When this configuration option is true, any control-left-click will be handled as a right-click with no shift keys down. That is, a control-left-click will cause mouse-right-down to be called with a buttons argument that does not include any bits for shift keys.

This option is true by default only on Mac OS X, where traditionally there is only a single mouse button and applications conventionally handle a control-click as they would a right-click on other platforms. A Common Graphics application on the Mac could alternately set this option to nil and handle control-clicks itself directly in mouse-left-down methods. With the default setting, existing mouse-right-down methods will work automatically on a Mac with the control-click gesture.

This option does not appear on the IDE's Options dialog, but could be modified interactively with Tools | Inspect System Data | CG Configuration Options. It can be set programmatically with a form such as this one:

(setf (map-control-left-click-to-right-click (configuration *system*))

Copyright (c) 1998-2015, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.2. This page is new in the 8.2 release.
Created 2010.1.21.

Allegro CL version 8.2
This page is new in 8.2.