So, I was looking at the slots/mouse functions of the shoes Manual (Slots >
Events)
I entered in the first example perfectly, since I want to mess around
with leave/hover. My code is thus:
Shoes.app do
stack :width => 50, :height => 50 do
background red
hover do
clear {background blue}
end
leave do
clear {background red}
end
end
end
When I run it, it stats with a little red box in the top left corner. All
good! I then hover over it, and the entire window turns blue. And leave
doesn't seem to be working, because no matter where I put the mouse inside
the screen or out, it doesn't turn back red. Note: When I get rid of the
'clear' and the curly braces, the blue background is still across the entire
screen, its just that the red box stays (of course). Any help?
--
--TIMOTHY
P.S. Can Shoes handled multiple windows?