CLIM mail archive


Presentation-types and parameters

hi everybody,

I'd like to define my own presentation-types for sets and ordered lists,
with sets inheriting from clim predefined presentation type 'sequence
and lists inheriting from sets. 

Let's take the example of sets, I define it like :
 (define-presentation-type sets (type) :inherit-from `(sequence ,type))
I also provide the folowing methods :
  - presentation-typep and presentation-subtypep with (call-next-method)
  - my own present and accept methods

All these methods seem to work properly, but whenever my mouse happen
to pass over such a displayed object, the program crashes with this error: 
  Error: missing value for argument TYPE

When traced, the program seem to stop when calling :

Has amybody had such a problem, and how have you solved it ?

| Gilles DEFLANDRE			       CNET - Lannion A -    |
|  tel : 96 05 18 20			       2, route de Tregastel |
|  e-mail :	       BP 40                 |
|   22301 LANNION Cedex   |


Main Index | Thread Index