[plt-scheme] initalization problem w/comment-box:snip% subclass

From: Jordan Johnson (jmj at fellowhuman.com)
Date: Sun Apr 19 17:45:43 EDT 2009

On Apr 19, 2009, at 2:33 PM, Robby Findler wrote:
> One of the super classes already supplies the with-border? flag as #f
> (editor-snip:decorated-mixin, to be precise).
>
> Did you need it to do something different?

Well, yes...not draw a border. :)

Does editor-snip:decorated-mixin draw its own border?

jmj

> Robby
>
> On Sun, Apr 19, 2009 at 4:27 PM, Jordan Johnson  
> <jmj at fellowhuman.com> wrote:
>> Hi all,
>>
>> I'm puzzled by the following:
>>
>>        (new comment-box:snip% [with-border? #f])
>> generates this error:
>>        instantiate: unused initialization arguments: (with-border?  
>> #f) for
>> instantiated class: -snip%
>>
>> comment-box:snip% is a subclass of editor-snip%, no?  What's going  
>> on?
>>
>> Thanks,
>> jmj
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>



Posted on the users mailing list.