Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## simple-click-toggle

Arguments: multi-item-list-or-outline

Returns whether `multi-item-list` or `outline` control requires the user to hold down the control key while clicking an item in order to toggle the selected state of that single item. If `nil`, a simple left click will deselect all other items (which is typical Windows behavior); if true, a simple left click will toggle the clicked item only. Note that holding down the shift key while clicking to select a whole range of values (also typical Windows behavior) is possible only when this property is `nil`. The default value is `nil` for `multi-item-list` and `t` for `outline`.

For a `multi-item-list`, this property must be specified with the :simple-click-toggle initarg to make-instance when creating the multi-item-list instance; it cannot be changed later. For an `outline`, this property is used only when the multiple-selections property is true.

simple-click-toggle is a property of the `multi-item-list` and outline classes.

GTK note: It's not feasible to implement this option for the `multi-item-list` widget on GTK. The widget will always behave as if simple-click-toggle were `nil`.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version