someLabelWidget.onHoverChange = function(widget, hoverState)
if hoverState then
print (widget:getId())
end
end
&onHoverChanged: function(self, hoverState) if hoverState then doSmth() end end
HealthBar < ProgressBar
id: healthBar
height: 12
background-color: #ff4444
anchors.top: parent.top
anchors.left: prev.right
anchors.right: parent.right
margin-left: 5
margin-top: 10
&onHoverChanged: function( self,hoverState) if hoverState then print("lol") end end