CLIM mail archive

[Prev][Next][Index][Thread]

Presentation-types and parameters



   X400-Received: by /PRMD=inria/ADMD=atlas/C=FR/;
    Relayed; 29 Mar 94 16:25:31+0200
   X400-Received: by /PRMD=CNET/ADMD=ATLAS/C=FR/;
    Relayed; 29 Mar 94 16:25:02+0200
   Date: 29 Mar 94 16:25:02+0200
   From: "Gilles DEFLANDRE - FT.CNET/LAA/EIA/AIA" <deflandr@lannion.cnet.fr>

   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 :
     clim::map-over-presentation-type-supertypes-method

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

This means that something, somewhere, has failed to fill in the
required TYPE parameter to your SETS type.  Probably your subtypep or
typep methods.

References:

Main Index | Thread Index