in reply to Re: Keeping track of classes
in thread Keeping track of classes

Thank you for your reply.

I did some further digging around and found that the C objects keep track of the hierarchy, so that's how I solved that problem:

I changed Etk_Widget in the typemap to call a function that takes the object, check the type through the C library and get a string representation of the type, I then use that to get the appropriate perl class and create the object like this.

Latest cvs code is here. Object creation is now more simplified, so it should be obvious how it is being done.

--
Leviathan