[plt-scheme] instantiate & framework
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