Hi, <br><br>I've been trying to copy snips,(editor-snip and image-snip using graph-snip from the MrLib Graph library )<br><br>Copying the snips seems fine; <br>(define pb-snips (map (λ (snip) (send snip copy)) graph-snips))
<br><br>until I try to use one of my own methods<br><br> (define my-image-graph-snip% <br> (class (graph-snip-mixin image-snip%)<br> (define/override (resize x y) #f) ;; do not allow resizing <br> (super-new)))
<br><br>The copy operation doesn't bring the overridden method along. <br><br>I have since discovered that the copy operation needs to be overridden for my snip too, but I am not sure how to - any hints as to how I should approach this?
<br><br>Cheers,<br><br>Stephen<br><br>--<br>Stephen De Gabrielle<br><a href="mailto:s.degabrielle@ucl.ac.uk">s.degabrielle@ucl.ac.uk</a><br>Telephone +44 (0)20 7679 5242 (x45242)<br>Mobile 079 851 890 45<br>
<a href="http://www.uclic.ucl.ac.uk/annb/MaSI.html">http://www.uclic.ucl.ac.uk/annb/MaSI.html</a><br>University College London Interaction Centre<br>Remax House - 31/32 Alfred Place<br>London - WC1E 7DP