Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0002992 |
[Squeak] Morphic |
tweak |
always |
02-21-06 04:17 |
02-21-06 04:17 |
|
Reporter |
wiz |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
open |
|
Status |
new |
|
Product Version |
3.9 |
|
Summary |
0002992: [pre-Fix] Menu Items mark boxes would be easier to make if booleans knew '<yes>' and '<no>'. |
Description |
The easy way to indicate a toggle state in a menu is with the little boxes that appear before the items.
Right now you have to do major hunting to find out how these boxes get there.
If the booleans would just return the yes or no phrase when asked things would be much much simpler. And the implementation would be hidden at higher levels. (So it could be changed much more easily if necessary).
The attached changeSet teaches booleans how to respond yes or no in the appropriate way for menus.
|
Additional Information |
Object is taught to respond with an empty string as a backstop.
This is a good response. Though a it might also want to give a warning about the message wanting to be sent to booleans. |
|
Attached Files |
YesNoString-wiz.2.cs [^] (9,836 bytes) 02-21-06 04:17 |
|