Slot characteristic inheritance
Pierre Lorenzon <[email protected]> Wed, 06 Jun 2007 16:49:37 +0200 (CEST)
| Newsgroups | gmane.emacs.eieio |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Sorry if this question has already been discussed here but I am
a newbie in using eieio. Well I read in info documentation :
"Every slot in parent
is replicated in the new class. If two parents share the same
slot name, the parent which appears in the list first sets the
attributes for that slot. If a slot in the new class' slot list
matches a parent, then the new specifications for the child class
override that of the parent."
Well it does not seem to be the case for the custom attribute
for instance. Indeed when a read teh code, I saw that
init, type (and maybe default) really override settings for
parent class but not custom.
Why ? Is it something that has to be done in the code or should
it absolutely not be done if it would disturbe the widget
definition process ?
Bests
Pierre
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/