2 USING: gadgets test namespaces ;
6 [ ] [ <gadget> <fooey> set-gadget-delegate ] unit-test
7 [ ] [ f <fooey> set-gadget-delegate ] unit-test
11 ! c contains b contains a
14 "a" get "b" get add-gadget
16 "b" get "c" get add-gadget
19 { 100 200 } "a" get set-rect-loc
20 { 200 100 } "b" get set-rect-loc
22 ! give c a loc, it doesn't matter
23 { -1000 23 } "c" get set-rect-loc
25 ! what is the location of a inside c?
26 "a" get "c" get relative-loc