--- [...] (define frame (make <Frame>)) (define canvas (make <Canvas> :parent frame :relief "groove" :width 800 :height 600)) (define-class <BON-object> (<Rectangle>) ((label :init-keyword :label :accessor label))) (define bon-object (make <BON-object> :parent canvas :label (make <Label> :parent canvas :text "BON-object") :tags "BON-object" :fill "Red" :coords '(100 100 200 150))) [...] --- My question is, how do I get the label to show up? Right now, I just get a red rectangle. Also, is this even the best way to define my class? Thanks for any help or advice. -- Kevin K. Lewis | My opinions may be unreasonable lewikk_at_aud.alcatel.com | but such is the voice of inspirationReceived on Fri Feb 09 1996 - 22:24:17 CET
This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST