Hi Johan,
Update is not supported by Glamour at this time :(. In fact, this is the most important major feature that is missing.
The problem is that "update" has many facets that are not quite obvious, and I did not yet find a good enough solution to accommodate these. It is in my plan to work on it during the winter holidays, but I cannot promise a solution at this moment.
Cheers, Doru
On 12 Dec 2009, at 20:23, Johan Fabry wrote:
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
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"It's not how it is, it is how we see it."