That works fine for me on OSX & latest build:

Shoes.app do
t=oval 50, 50, 100
t.click do
para "ole"
end
end

K

On Sat, May 23, 2009 at 7:02 PM, Bryan Richardson <[email protected]> wrote:
> Hello all,
>
> I'm new to Shoes and am doing some testing to see if it will fulfill my
> needs.  One of the things I'm wanting to use it for is to display a network
> graph, and be able to click nodes in the graph to have them
> expand/collapse.  So one of my first tests was to create a shape and see if
> I could make things happen when I clicked on the shape.  It seems as though
> the 'click' method exists for all Shoes objects, but when I click on the
> shape I created (a star), the code I have in the block passed to the 'click'
> method doesn't get executed.  I made sure it wasn't something wrong with the
> code in my block by replacing the shape I created with a button, at which
> point it worked as expected.
>
> Long question short... is it possible to respond to clicks on shapes?!
>
> --
> Thanks!
> Bryan
>

Reply via email to