Hi,
The second argument is the entity. If you want to inspect the selection you do:
pres selection inspect
Cheers,
Doru
On 23 Aug 2011, at 11:47, Damien Cassou wrote:
In the following browser, whatever is selected in the
list, if I press
Modifier-i I get an inspect on 5.
===========================================
|browser|
browser := GLMTabulator new.
browser row: #list.
browser transmit to: #list; andShow: [:a |
a list
display: [:v | v to: 10 * v];
selectionAct: [:pres :selection | selection inspect] on: $i
entitled: 'Inspect'
].
browser openOn: 5
===========================================
How can I get an inspect on what is really selected?
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"We cannot reach the flow of things unless we let go."