CLIM mail archive

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

output-records




>I have a similar problem with output records.

>I put several presentations of multiple types on the output record 
>using with-output-as-presentation.  When they don't overlap I have
>no problem, but when they overlap I get an error about 25% of the 
>time.  

>The error I get looks like this:
>========================================================================
>>Error: The element #<CLIM:STANDARD-PRESENTATION DRAW::BOX 
>#S(DRAW::BOX POSITION 10 COLOR #<CLIM-UTILS:GRAY-COLOR 10% Gray 112CEA36> 
>UPPER-LEFT (78 102) LOWER-RIGHT (261 207)) /x 78:261 y 102:207/ 110BB87E> 
>was not found in 
>#<CLIM::TOP-LEVEL-COORDINATE-SORTED-SET /x -2:1261 y -2:788/ 112A32FE>

>(METHOD CLIM:DELETE-OUTPUT-RECORD-ELEMENT
>(CLIM::COORDINATE-SORTED-SET-OUTPUT-RECORD T)):
>   Required arg 0 (RECORD):
> #<CLIM::TOP-LEVEL-COORDINATE-SORTED-SET /x -2:1261 y -2:788/ 112A32FE>
>   Required arg 1 (ELEMENT): #<CLIM:STANDARD-PRESENTATION DRAW::BOX 
>#S(DRAW::BOX POSITION 10 COLOR #<CLIM-UTILS:GRAY-COLOR 10% Gray 112CEA36>
>UPPER-LEFT (78 102) LOWER-RIGHT (261 207)) /x 78:261 y 102:207/ 111ED7BE>
>========================================================================

>Even though it says it can't find the presentation, when I look 
>through the presentation I can find it.


Hello Joel,

  try (setf (output-recording-stream-output-record 
	      (get-frame-pane *application-frame* '<your-pane-name>))
	    (make-instance 'clim::linear-output-record))
  after your make-apllication-frame.

There are some problems with non-linear-output-records. Your error-description
sounds like a earlier in this box discussed problem.

Ciao, Ralf.



Main Index | Thread Index