Hi all,
a question: I have a tree on a collection of elements, with the following specification:
tags: [:asp | {asp show ifTrue:[MenuIcons smallOkIcon] ifFalse: [MenuIcons smallCancelIcon]}]; act: [:tree | |asp| asp := tree selection. asp show: (asp show not) ] on: $t entitled: 'Toggle On/Off (t)';
Now when the toggle action is performed, the tree should redisplay, as the tag needs to change. (adding a tree update within the act block does not work :-( ) How do I achieve this?
Thanks in advance! -- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile