[racket] onfocus like functionality in Racket

From: Animesh Pandey (animeshpandey.etno at gmail.com)
Date: Sat Oct 4 22:50:30 EDT 2014

Hi,
I have designed the program. You can see this here
<http://pastebin.com/v6L2STP7>. It is a basic GUI program where I generate
figures using a key event. The figures can be dragged but I noticed one
thing which was if any of the figures overlap then when the figure which is
on top is dragged the one below is also dragged. You run it with (run 0)
and then press 'n' to generate new figures on the center of the canvas.


On Sat, Oct 4, 2014 at 9:50 PM, Matthias Felleisen <matthias at ccs.neu.edu>
wrote:

>
> Yes, it's your choice whether one circle moves or both.
>
> If this is related to a course, you need to design the program so that
> this mailing list can help you with where you're stuck.
>
> If you're trying to find a good GUI toolbox, then I'd recommend using the
> underlying one instead. The big-bang construct is used for teaching design.
>
>
> On Oct 4, 2014, at 9:47 PM, Animesh Pandey wrote:
>
> > Hi,
> > I am using big-bang to create a simple GUI application where I am
> dragging two solid circles.
> > Suppose I drag one circle on top of another and release the mouse button
> and then when I click both circles move together. Is there away I can avoid
> this? I want the circle on the top to move and not the one under it.
> >
> > Thanks
> > ____________________
> >  Racket Users list:
> >  http://lists.racket-lang.org/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20141004/0a1d1779/attachment.html>

Posted on the users mailing list.