Hi Hilaire,

Sorry for the late reply.

Indeed, it should be possible to do this, but we have to look closer at your 
concrete code.

Here is an example:
        browser := GLMTabulator new.
        browser column: #one; column: #two.
        browser transmit to: #one; andShow: [ :a |
                a list display: [ :x | 1 to: x ] ].
        browser transmit from: #one; to: #two; andShow: [ :a | a text ].
        browser transmit 
                fromOutsidePort: #explicitSelection;
                to: #one port: #selection.
        browser openOn: 42.
        (browser pane port: #explicitSelection) value: 41

Essentially, you need to transmit the selection from the outside to the inside 
pane. Please note that once you pass the #explicitSelection to the #selection 
of pane #one, you also trigger the transmission from #one to #two, and this is 
why the 41 also appears in the text on the right hand side.

Does this help?

In the meantime, have you read this chapter:
http://www.themoosebook.org/book/index.html#h1buildingbrowserswithglamour
?



Cheers,
Doru


> On Jul 15, 2017, at 10:38 AM, Hilaire <hila...@drgeo.eu> wrote:
> 
> Thanks for the updates on both the internal dependencies and the 
> ListPresentation.
> 
> From this browser, I deduced a second simpler browser for only one script. It 
> was easy to do so thanks to your tips (attached pic).
> 
> With this simpler script editor, when I open a script, I like it opens on the 
> compute method, because it is a mandatory method in a script.
> 
> I was doing it like 
> 
>     browser := Nautilus openOnClass: scriptClass selector: #compute.
> 
> I guess, there is a way to do so with the Glamour browser ?
> 
> Thanks
> 
> Hilaire
> 
> -- 
> Dr. Geo
> 
> http://drgeo.eu
> <Edit script: Marque sur segment.gif>

--
www.tudorgirba.com
www.feenk.com

"Every now and then stop and ask yourself if the war you're fighting is the 
right one."




Reply via email to