08-02-2006 08:31 AM - edited 08-02-2006 08:31 AM
Message Edited by falkpl on 08-02-2006 09:31 AM
08-02-2006 08:57 AM
08-02-2006 10:21 AM - edited 08-02-2006 10:21 AM
Message Edited by David Crawford on 08-02-2006 04:21 PM
08-02-2006 11:03 AM
By metadata I mean data that is used to describe the object not necessarly a property of the object. This is very flexable to use because it allows for decoupling of the data and the method for the data. I have actually done exactly what you mention, use the description property to realize this. The problem with this hack is that the description already has a function and the description is a property of some objects but not necessarly the gobject class. If it is placed in the GObject class, a generic function can be made to handle all controls and subtypes without the use of polymorphic functions or large case structures.
Paul
08-03-2006 09:40 AM