On 10/13/05, Ralf Stephan <ralf@...748...> wrote:
I think, though I may be wrong, that someone would have to decide what goes into the group of callbacks available a "knowledge of View classes in general, or knowledge of a putative View base class", ...
No, I took SPDesktop, separated it from SPDesktopWidget, and wrote down the interface from the former to the latter (with hindsight to abstraction). No design. Just indirection. Let the code itself tell you what it needs. I admit there was some aimful optimizing taking part, and there will be more.
If I understand that correctly, then I agree - you worked from an exisitng list/listing of the interface capabilities.
It seems to me that that list either evolved as functionality was added to Inkscape (which I think is the natural way to work), and is what I meant by claiming that the Inkscape engine, if not the Inkscape Model has insight/knowledge of the most usual View - the GTK+ one; or had to be created up front. I think that the latter would need magic and/or one of Professor Brook's Silver Bullets. I haven't thought about this very much, and I may be on the wrong lines.
Ben