[Prev][Next][Index][Thread]
Custom gadgets in a frame
-
To: info-dylan@ai.mit.edu
-
Subject: Custom gadgets in a frame
-
From: Dustin Voss <d_voss@uswest.net>
-
Date: Wed, 19 Apr 2000 21:15:02 -0400 (EDT)
-
User-Agent: MT-NewsWatcher/3.0 (PPC)
-
Xref: traf.lcs.mit.edu comp.lang.dylan:11875
Has anybody run into this problem?
define class <my-list-control> (<list-control>) end class;
define frame <my-frame> (<simple-frame>)
pane my-list-control (frame)
make (<my-list-control>);
layout (frame)
horizontally()
frame.my-list-control;
end;
end frame;
begin
start-frame (make (<my-frame>));
end;
This yields a runtime error:
<my-frame> is not an instance of <sheet>
Anybody know why this is? This *severely* limits the extensibility of
DUIM.
-- Dustin Voss