FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

toggle-button

Arguments: button-widget

Sets the value of a boolean widget to t if its current value is nil, and otherwise sets its value to nil. The boolean widgets (ones that have only two logically distinct values) include button, default-button, cancel-button, picture-button, check-box, and radio-button.

This function emulates clicking on a boolean widget, and is handy for triggering the on-change function of a simple button widget. (Note that while a simple button widget has only a single visible state, it still holds a boolean value that causes the on-change function to run when it is changed.)


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.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version