Hi, Sorry !
From: Pierre Lorenzon <pollock.nageoire@...>
Subject: [cedet-eieio] customization
Date: Tue, 26 Jun 2007 15:27:03 +0200 (CEST)
> I am very interested in using the customizing facilities
> provided by the eieio package. But !
> I defined a class whose only slot is a list which will be
> filled with objects. So the custom type I found the most
> appropriated was (repeat object).
> ex : (defclass test () ((list :custom (repeat object))))
> Objects are very simple objects in order to test the
> mechanism. When an object is created and customized with
> eieio-customize-object everything goes well : it displays
> correctly as would display any editable-list. It means with the
> ins and del button for each itm. But when trying to click the
> ins button an error occurs !
> "No create method specified"
> This error comes from the eieio-object-value-create
> method. Indeed this method tries to retrieve :objecttype) or
> or :objectcreatefcn attribute from the newly created child
Yes and they have to be set in the the type declaration !
> widget. But method widget-editable-list-entry-create in the
> wid-edit library does not set any of this attributes.
> So what does this mean ? Can't we use the repat type without
> any slight modification ? Do we have to define a slightly
> modified type to handle this creation problem ?
> Once more, if there is something to implement I can try to do
> it but I only want to be sure that it is not something that I
> misunderstood !
In dded there was something I misunderstood !