Weird... anyone know how I would go about using hover/leave with an image?

On Sun, Jul 6, 2008 at 3:12 PM, jonty <[EMAIL PROTECTED]> wrote:

> I found this too today using Shoes 751 - on windows xp sp2 but then when I
> tried to close the app shoes crashed.
>
>
>
> Timothy McDowell wrote:
>
>> 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?
>>
>


-- 
--TIMOTHY

Reply via email to