CAD-Drawing-IO-Tk
view release on metacpan or search on metacpan
lib/CAD/Drawing/IO/Tk.pm view on Meta::CPAN
101102103104105106107108109110111112113114115116117118119120Need to re-structure the entire deal to have its own object which
belongs to the drawing object (or does the drawing object belong to this
object?) Either way, we need to be able to build-up into interactive
commands (possibly using
eval
(
"\$drw->$command"
); ?)
Ultimately, the focus here will likely drift toward supporting perlcad
the nature of lights-out scripting vs the nature of on-screen drafting
is quite different, so there will be some tricks involved. Once
each
entity
has
its own class, the ability to install callbacks and the
resolution of notifications should get easier. But, there will still
be the issue that a debug popup does not know it will appear
when
the
entities are created,
while
a drafting viewport does (or does it?)
Possibly, adding a list of tk-id's to
each
$obj
as it is drawn would be
a good starting point, but this gets us into trouble
with
multiple
viewports.
=cut
( run in 0.247 second using v1.01-cache-2.11-cpan-1dc43b0fbd2 )