The check class is for check boxes, which are represented by slotfiller variables with boolean values. The display is like that of the slot class, except that the value areas are all square buttons and precede the labels. A button is marked "on" if the corresponding value is 1 and "off" if it is 0. When a button is "on" it has a sunken appearance and is the color specified by the fg attribute, and when "off" it has a raised appearance and is the color specified by the bg attribute. A click with the left mouse button on a check button toggles the appearance of the button between "on" and "off", and at the same time the corresponding value in the A+ variable toggles between 1 and 0. Therefore, if a callback function is defined for the slotfiller variable, mouse clicks cause the callback function to be executed, with the path argument p being the symbolic index of the changed value.Visual Representation
The label areas cannot be edited.
The slot areas that appear in the display and their arrangement can be controlled by the setting of the geometry attribute; see "The Geometry Attribute". All slot areas specified for display by this attribute are completely displayed; check displays never have scrollbars.
For information about a widget element, click the left mouse button with the tip of the pointer index finger on it. Point inside the frame but outside the widget for attributes governing overall size, position, etc.ckû(`a`b`c`d;(0;1;1;1)) show `ck has (`class;`check; `shelltitle;'ShellTitle'; `title;' Show cols '; `label;('Open';'High';'Low';'Close'))
The element you are pointing at is named in the status message area at the bottom of the window.
(Clicking the middle mouse button instead displays this information in a new browser.)
See the "Display Attributes" chapter for details concerning all the attributes that apply to objects in the check display class, as well as lists of colors and fonts. The keys in the Table of All Display Attributes that pertain to this class are K, ALL, CNFT, NFT, and TOP.
The attributes that are meaningful for the check display class (other than the print... attributes) are:
acceptfocus(Point the mouse cursor to an attribute to display a short description at the bottom of the screen)
|firstname.lastname@example.org||© Copyright 19952008 Morgan Stanley Dean Witter & Co. All rights reserved.|