hi Cyrille!
Your hint about resizing panes help a little bit, but the buttons of this
pane still stay in the same place, it don't follow the resizing. How I can
solve this?
About send a data to other pane, i guess the manner that you told won't
work to me, because i am working with a mondrian visualization. So what I
need indeed is get a value from the wizard, and, when I click on finish
button, update the view using the value that i got from wizard.Well, I hope
there is a manner to update the mondrian view...
Juio
On 13 December 2011 14:33, Cyrille Delaunay [via Smalltalk] <
ml-node+s1294792n4191032h81(a)n4.nabble.com> wrote:
Hi julio,
From merlin side, I think you are not able yet to specify the size of a
panel. But in glamour (at least for the morphic rendering) you can send to
a browser:
initialExtent: 300@300 (for example)
So in your script, when you call your glamour wizard, you could have
something like:
myMerlinWizard glamourWizard initialExtent: 300@300; yourself.
Then for the communication between the different panel, you will do it
throught merlin. In merlin, each 'part' that you add in a panel is
associated to an output key:
merlinFirstPane row: merlinFirstPanePart associatedTo: #key
You can then retrieve the output of this part in a second pane if you
specify that your part require it.
merlinSecondPanePart defaultValue: [:requiredInputs |
(requiredInputs at: #key) ... ]
merlinSecondPane row: merlinSecondPanePart requiring: #key
This allow you specify a default value (default selection) of a part
according the value returned by anorther part.
Is it what you are looking for ?
If you want want to do more than setting the default value/selection of a
part, merlin provide for now a 'hacky' way to do nearly everything you want
when the selected value (/output) of a part change. Each merlin part should
understand the message 'callback:', in which you specify a block that will
be executed when the selected value (/output) of this part change. For
example you could have:
merlinFirstPanePart
...
callback: [:outputValue | merlinSecondPanePart
doSomethingWithTheOutputValue ... ];
...
Does it help you more ?
2011/12/13 Júlio Martins <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4191032&i=0>
Hi Cyrille!
>
> Yes it served me good!
>
> I have now two things taht I want to do: first, I need reduce the size of
> my panel. When it started by menu, it gets larger then needed, so how i can
> modify the size of this panel? Second, I need too provide a communication
> between myPanel and aonther panel, in other words, I want pass a parameter
> that is informed into myPanel to anotherPanel, how I can do it?
>
> Thanks in advance!
>
>
>
>>
>> > On Dec 5, 2011, at 2:17 PM, Cyrille Delaunay wrote:
>>
>> >> There should be
the class 'MerlinExamples' with a set of examples on
>> the class side.
>> >> There is also an extension to render merlin wizards with Glamour: the
>> package MerlinGlamour at
http://www.squeaksource.com/Merlin.
>> >> Once MerlinGlamour loaded, you could do something like:
>> >>
>> >> myGlamourBrowser
>> >> spawn: [ myMerlinWizard glamourWizard ] entitled: 'my menu
title'.
>> >>
>> >>
>> >> It looks like what you want to do (?)
>>
>
> ------------------------------
View this message in context: Re:
Glamour<http://forum.world.st/Re-Glamour-tp4190517p4190517.html>
Sent from the Moose mailing list
archive<http://forum.world.st/Moose-f1310756.html>at
Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=4191032&i=1>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Cyrille Delaunay
http://cyrilledelaunay.seasidehosting.st/
_______________________________________________
Moose-dev mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=4191032&i=2>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://forum.world.st/Re-Glamour-tp4190517p4191032.html
To start a new topic under Moose, email
ml-node+s1294792n1310756h25(a)n4.nabble.com
To unsubscribe from Moose, click
here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310756&code=amxlYW5kcm8ubWFydGluc0BnbWFpbC5jb218MTMxMDc1NnwtMTA2ODQ0ODY4OA==>
.
NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>