Handling transmissions in Glamour

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Handling transmissions in Glamour

Santiago Vidal
Hi,
I'm trying to define this transmission:
browser transmit to: #one port: #selection; from: #two; transformed: [:x | x-2 ].

The problem is that #one and #two are not defined in the same browser. Specifically, #two is defined into a browser that is added to the browser in which #one is defined usign something like: 
a custom: MyBrowser browser.

How can I define the transmission? Thanks in advance,
Cheers,
  Santiago

--
Santiago Vidal

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Handling transmissions in Glamour

Tudor Girba-2
Hi,

Transmissions are always sent between ports belonging to panes that are either inside the browser or to the outside pane that surounds the current browser.

So, you have to send from the inner browser to an outside port, and then create another transmission in the surrounding browser.

The simplest way to figure out what you need to define is to draw your browser. This is why we have this notation:
http://www.themoosebook.org/book/internals/glamour/sketching

For transmissions, please read this:
http://www.themoosebook.org/book/internals/glamour/transmissions
http://www.themoosebook.org/book/internals/glamour/browsers/composition

Cheers,
Doru

On 17 Jul 2012, at 22:30, Santiago Vidal wrote:

> Hi,
> I'm trying to define this transmission:
> browser transmit to: #one port: #selection; from: #two; transformed: [:x | x-2 ].
>
> The problem is that #one and #two are not defined in the same browser. Specifically, #two is defined into a browser that is added to the browser in which #one is defined usign something like:
> a custom: MyBrowser browser.
>
> How can I define the transmission? Thanks in advance,
> Cheers,
>   Santiago
>
> --
> Santiago Vidal
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Value is always contextual."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Handling transmissions in Glamour

Santiago Vidal
Oh! I understand now. Thanks for the explanation! 

Cheers,
Santiago

2012/7/17 Tudor Girba <[hidden email]>
Hi,

Transmissions are always sent between ports belonging to panes that are either inside the browser or to the outside pane that surounds the current browser.

So, you have to send from the inner browser to an outside port, and then create another transmission in the surrounding browser.

The simplest way to figure out what you need to define is to draw your browser. This is why we have this notation:
http://www.themoosebook.org/book/internals/glamour/sketching

For transmissions, please read this:
http://www.themoosebook.org/book/internals/glamour/transmissions
http://www.themoosebook.org/book/internals/glamour/browsers/composition

Cheers,
Doru

On 17 Jul 2012, at 22:30, Santiago Vidal wrote:

> Hi,
> I'm trying to define this transmission:
> browser transmit to: #one port: #selection; from: #two; transformed: [:x | x-2 ].
>
> The problem is that #one and #two are not defined in the same browser. Specifically, #two is defined into a browser that is added to the browser in which #one is defined usign something like:
> a custom: MyBrowser browser.
>
> How can I define the transmission? Thanks in advance,
> Cheers,
>   Santiago
>
> --
> Santiago Vidal
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Value is always contextual."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--
Santiago Vidal

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev