FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

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-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1