Can anyone give me some pointers on how to implement an SPObject? I'd like to correctly hook the metadata repr's to something that can receive proper signals, etc. Right now the metadata is a giant flaming hack, and it looks like I could really solve a bunch of the bugs by making it act like other repr-based things. Where can I look for some _easy_ examples of how the SPObject stuff works, and what the minimum requirement is for function implementations, etc?
On Sat, 2 Oct 2004 18:36:22 -0700, Kees Cook <inkscape@...62...> wrote:
Can anyone give me some pointers on how to implement an SPObject? I'd like to correctly hook the metadata repr's to something that can receive proper signals, etc. Right now the metadata is a giant flaming hack, and it looks like I could really solve a bunch of the bugs by making it act like other repr-based things. Where can I look for some _easy_ examples of how the SPObject stuff works, and what the minimum requirement is for function implementations, etc?
Look into sp-object-repr and try to find the simplest one. For example SPAnimation is very small (because unused) and looks like a good starting point. One thing is that metadata must not derive from SPItem but directly from SPObject.
-- Kees Cook @outflux.net
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
bulia byak
-
Kees Cook