SetterBox
One button, pressed when the variable holds its entry; a SetterBar is a row of them.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
SetterBox✓SetterBox(binding, domain, shown, options)One button, pressed when the variable holds its entry; a SetterBar is a row of them.Typed signatures
| Type | Package | Applies |
|---|---|---|
(expression, expression, boxes, expression*) -> boxes | boxes | always |
Details
- Wolfram's
SetterBaris aGridBoxrow of these, one per entry. The domain is the one value, as[a], and the third argument is the box the button shows, asSetterBox[Dynamic[c], {a}, label]in Wolfram. ASetterover a whole list is one value there,{{a, b, c}}; here the list is the entries of a bar. - A
TogglerBaris the same row overDynamic(MemberQ(x, a)): pressing a button puts its entry in the listxor takes it out. - A reader of the controls (the keyboard driver,
reduce, the terminal drawer) groups a row that shares a binding back into the oneSetterBarorTogglerBar, so each variable has one control. - Its intent is a choice.
Examples
About
| Examples | 1 |
|---|---|
| Checked against | Wolfram Language 1 agree |
| Crosswalk | Wolfram Language |
See also: RadioButtonBox, PopupMenuBox, TogglerBox