[Pharo-users] Morph: event handler on wrong morph/submorph

Federico.Balaguer federico.balaguer at gmail.com
Sun Oct 4 21:57:47 EDT 2015


Hello Stephan,

could you introduce me to Damien so I can organize a meeting with him?

Thanks. Federico

On Sat, Oct 3, 2015 at 3:47 AM, stepharo [via Smalltalk] <
ml-node+s1294792n4853384h52 at n4.nabble.com> wrote:

> Hi federico
>
> could you
>      - show it to damien when he will come to Laplata?
>      - could you produce a small video because I would like to share it
> with other teachers?
>
> Stef
>
> Le 28/9/15 18:59, Federico.Balaguer a écrit :
>
> > Hello,
> >
> > I found a problem with BotArena
> > (http://smalltalkhub.com/#!/~FedericoBalaguer/BotArena) on Pharo 4.
> >
> > BotArena is an interactive robot simulation environment that we use in
> my
> > university to teach OOP basics. BotArena was developed as an
> instantiation
> > of BOSS (http://smalltalkhub.com/#!/~CAR/BOSS/).
> >
> > BotArena (as well as BOSS) has a window (Morph) that has three buttons
> and a
> > grid view that is subclass of BorderedMorph. The GridView can handle
> > RedButtons, a click on the grid adds a new robot to the simulation.
> >
> > The problem that raised on Pharo4 is that, after a RedButton event, any
> > event (focus to another pharo window or clicking on one of the buttons
> of
> > BotArena) will be handled by the GridView.
> >
> > It seems like the GridView retains the focus after the (first) RedButton
> > event was handled.
> >
> > Could someone help me to sort this one out?
> >
> > Thanks! Federico
> >
> >
> >
> > --
> > View this message in context:
> http://forum.world.st/Morph-event-handler-on-wrong-morph-submorph-tp4852370.html
> > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> >
> >
>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://forum.world.st/Morph-event-handler-on-wrong-morph-submorph-tp4852370p4853384.html
> To unsubscribe from Morph: event handler on wrong morph/submorph, click
> here
> <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4852370&code=ZmVkZXJpY28uYmFsYWd1ZXJAZ21haWwuY29tfDQ4NTIzNzB8LTQ2MzcxNTcyNw==>
> .
> 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.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://forum.world.st/Morph-event-handler-on-wrong-morph-submorph-tp4852370p4853556.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20151004/164a6a75/attachment.html>


More information about the Pharo-users mailing list