Hi Jannik,
Hi Doru, How are you ? So, I have two questions about Glamour:
- is it possible to make behavior on right click (as in mondrian
with interaction menuFor:) ?
Yes. Just say act:entitled: and this will create a menu item.
- in an example, I see:
browser text display: [:entity | 'self' ]; title: 'Evaluator'; act: [ :text :entity | (Compiler evaluate: text selectedText for: entity logged: false) inspect ]
But in the evaluator pane, when I do "print it" or "do it", it returns nil. Is it possible to evaluate the selected entity when there is "self" in this pane ?
The problem there is that :text is nil because of a small problem in the MorphicRenderer which does not populate that variable from the text morph. It's on my to do list.
Cheers, Doru
Thanks for all.
Cheers
Jannik Laval PhD Student - Rmod Team - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
-- www.tudorgirba.com
"Value is always contextual."