In Shoes, how do I get the current location of a shape in a window.
I thought the below would work, but console shows 0 for x and y
Shoes.app do
shp = oval 10,10,40,40
debug “shp x-#{shp.left} shp y-#{shp.top}”
end
In Shoes, how do I get the current location of a shape in a window.
I thought the below would work, but console shows 0 for x and y
Shoes.app do
shp = oval 10,10,40,40
debug “shp x-#{shp.left} shp y-#{shp.top}”
end
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs