[plt-scheme] instantiate & framework

From: Zbyszek Jurkiewicz (zbyszek at duch.mimuw.edu.pl)
Date: Fri Apr 4 12:04:21 EST 2003

Why am I not able to use instantiate on frame:pasteboard-infofile% ?

Welcome to DrScheme, version 203.
Language: Graphical (MrEd, includes MzScheme).
> (require (lib "framework.ss" "framework"))
> (instantiate frame:pasteboard-info-file% () (label "foo"))
instantiate: unused initialization arguments: (label "foo") for 
instantiated class: 
/home/staff/zbyszek/plt/collects/framework/private/frame.ss:2040:9
> (make-object frame:pasteboard-info-file% "foo")
#<struct:object:/home/staff/zbyszek/plt/collects/framework/private/frame.ss:2040:9>
> 

The documentation says it has argument label.

Regards,

Zbyszek Jurkiewicz


Posted on the users mailing list.