2011-08-15 29 views
1

我使用的是shoes GUI toolkit,我想在用户滚动按钮时显示一个工具提示。鞋子提示?

在鞋子里有没有办法做到这一点?或者我需要在鞋本身提交错误/功能请求?

回答

1

由Windows抄截。 如果您不使用本地控制,例如形状而不是按钮,则可以使其工作。 你也可以使用绿色的鞋子而不是红色的鞋子。 干杯

2

这里红鞋

Shoes.app do 
    s = stack :width => 400, :height => 400 do 
    @tip = flow :height => 20 do 
     para "" 
    end 
    @r = flow :width => 60, :height => 20 do 
     background red 
     para "button" 
     click do 
     alert("You clicked me !!") 
     end 
     hover do 
     @tip.clear() 
     @tip.para "this is the tip" 
     end 
     leave do 
     @tip.clear(background white) 
     @tip.para "" 
     end 
    end 

    end 
end 
+0

跟女鞋商场逗留(修订版2333)验证的解决方案。 – peak