From: t|ng
Subject: CLIM Presentation Type
Date: 
Message-ID: <22E71DAEC504D111B78100805FFE9DC725130F3C@pfs21.ex.nus.edu.sg>
Hi,

When is an application object instantiated in the following case:

For example,
(defclass mycircle ....)
(define-presentation-type mycircle ....)
(define-presentation-method ...
	(draw-circle* ....))

In the above situation, is the application-object instantiated when we
draw the circle?

Thanks!

Regards,
t|ng
From: Tim Bradshaw
Subject: Re: CLIM Presentation Type
Date: 
Message-ID: <ey3k8qbwjnu.fsf@lostwithiel.tfeb.org>
* ng  wrote:

> In the above situation, is the application-object instantiated when we
> draw the circle?

This depends on the method.  ACCEPT for instance is responsible for
parsing a representation of an application object  and then perhaps
instantiating it (if it hasn't been given an already-existing
object), while PRESENT will be given a preexisting, instantiated
object.

--tim