Dynamic knowledge about g_objects



Hi all.

I'd like to program a new gtktreemodel implementation for AF
Architecture (http://fact.aspl.es).

I want to dynamically create this model data from the data returned by
any remote listing service. This listing services return, currently, a
list where each node are structures representing customers, users, etc.

We're going to implement all these current structures as g-object
"classes". All them will have a common abstract parent class called
"AfDalDataNode".

But, for my gtktreemodel implementation I need to know, having a generic
AfDalDataNode pointer, information about its attributes (number of
attributes and their types). 
My treemodel will not have information about each actual AfDalDataNode
subclasses: it must be generic.

Can I do this? How?

-- 
David Marín Carreño <david aspl es>
Advanced Software Production Line, S.L.

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]