Anonymous user
Mouse position: Difference between revisions
→{{header|Ruby}}
({{omit from|Lotus 123 Macro Scripting}}) |
|||
Line 454:
<lang Ruby>
Shoes.app(:title => "Mouse Position", :width => 400, :height => 400) do
@position = para "Position : ?, ?", :size => 12, :margin => 10
motion do |x, y|
@position.text = "Position :
end
end
|