[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: 
> (make-object frame:pasteboard-info-file% "foo")

The documentation says it has argument label.


Zbyszek Jurkiewicz

Posted on the users mailing list.