how to force <canvas> item loading

From: Brian Denheyer <>
Date: Mon, 8 Mar 1999 20:31:50 -0800 (PST)

Whenever I try to define a class which inherits <line>, the canvas
item line, I get a "class not found" error unless I place the class
definition AFTER declaring an _instance_ of <canvas>.

Now I can understand that I can't have an instance of a canvas item
without a canvas, but why is the <line> class "invisible" until the
canvas instance has been declared. Is this a bug or a feature ?

Is there some way for me to "force" the <line> class to be visible ?

A load "Canvas" doesn't seem to work, I get a different strange error

Any ideas ?

Brian Denheyer   
Deldot Design, Inc.        (503) 788-1607
\/.d = Electronic design and development
Received on Tue Mar 09 1999 - 05:33:12 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST