Dmitrii Dimandt wrote:
Currently events such as click and move events are being handled by
Shoes.app or by elements which have been specifically coded to handle
such events (such as link and image).
How do you drag and drop an item? I tried this, correctly not expecting
anything:
image "static/shoes-icon.png", :left => 100, :top => 100 do
motion do |x,y|
move x,y
end
end
It seemed to follow the "everything is a hierarchical self-similar
self-referential block" ideal... (-;
(Also, if implemented as written, it would snick an object's origin point to the
mouse.)
If it worked, could the method 'bubble()' at the end mean "now pass this event
to the parent item for further processing"?
--
Phlip